Skip to content

Commit

Permalink
Fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Chardonnet committed Jun 4, 2015
1 parent e0ed3cc commit 5e5acf0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/Memio/Model/Phpdoc/ReturnTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Memio\Model\Phpdoc;


class ReturnTag
{
/**
Expand Down Expand Up @@ -48,4 +47,4 @@ public function getType()
{
return $this->type;
}
}
}
3 changes: 1 addition & 2 deletions src/Memio/Model/Phpdoc/ThrowTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Memio\Model\Phpdoc;


class ThrowTag
{
/**
Expand Down Expand Up @@ -48,4 +47,4 @@ public function getException()
{
return $this->exception;
}
}
}
2 changes: 1 addition & 1 deletion src/Memio/Model/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct($name)
$isCallableFromPhp54 = ('callable' === $name && version_compare(PHP_VERSION, '5.4.0') >= 0);

$this->isObject = !in_array($name, $nonObjectTypes, true);
$this->hasTypeHint = ($isCallableFromPhp54 || $this->isObject || 'array' === $name);
$this->hasTypeHint = ($isCallableFromPhp54 || $this->isObject || 'array' === $name);
$this->name = $name;
}

Expand Down

0 comments on commit 5e5acf0

Please sign in to comment.