Skip to content

Commit

Permalink
#2255 - Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Dec 11, 2021
1 parent db11ab7 commit 2cb019b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/CompilerFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,11 @@ public function preCompileClass(CompilationContext $compilationContext, $namespa
}

if (isset($topStatement['abstract'])) {
$classDefinition->setIsAbstract((bool)$topStatement['abstract']);
$classDefinition->setIsAbstract((bool) $topStatement['abstract']);
}

if (isset($topStatement['final'])) {
$classDefinition->setIsFinal((bool)$topStatement['final']);
$classDefinition->setIsFinal((bool) $topStatement['final']);
}

if (is_array($docblock)) {
Expand Down

0 comments on commit 2cb019b

Please sign in to comment.