Skip to content

Commit

Permalink
Traits are not abstract since PHP7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lisachenko committed Dec 26, 2015
1 parent 3cb2465 commit 60374f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/ReflectionClassLikeTrait.php
Expand Up @@ -394,7 +394,7 @@ public function getModifiers()
$modifiers += \ReflectionClass::IS_FINAL;
}

if ($this->isTrait()) {
if (PHP_VERSION_ID < 70000 && $this->isTrait()) {
$modifiers += \ReflectionClass::IS_EXPLICIT_ABSTRACT;
}

Expand Down

0 comments on commit 60374f6

Please sign in to comment.