diff --git a/src/Memio/Model/Phpdoc/ReturnTag.php b/src/Memio/Model/Phpdoc/ReturnTag.php index 1b5150e..1e71060 100644 --- a/src/Memio/Model/Phpdoc/ReturnTag.php +++ b/src/Memio/Model/Phpdoc/ReturnTag.php @@ -11,7 +11,6 @@ namespace Memio\Model\Phpdoc; - class ReturnTag { /** @@ -48,4 +47,4 @@ public function getType() { return $this->type; } -} \ No newline at end of file +} diff --git a/src/Memio/Model/Phpdoc/ThrowTag.php b/src/Memio/Model/Phpdoc/ThrowTag.php index 7ad059a..3d6f1fa 100644 --- a/src/Memio/Model/Phpdoc/ThrowTag.php +++ b/src/Memio/Model/Phpdoc/ThrowTag.php @@ -11,7 +11,6 @@ namespace Memio\Model\Phpdoc; - class ThrowTag { /** @@ -48,4 +47,4 @@ public function getException() { return $this->exception; } -} \ No newline at end of file +} diff --git a/src/Memio/Model/Type.php b/src/Memio/Model/Type.php index 815b543..e8d3556 100644 --- a/src/Memio/Model/Type.php +++ b/src/Memio/Model/Type.php @@ -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; }