Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Sep 5, 2024
1 parent 8731163 commit 9ff78b9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions lib/Doctrine/Common/Annotations/AnnotationReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
use ReflectionMethod;
use ReflectionProperty;

use const FILTER_VALIDATE_BOOLEAN;

use function extension_loaded;
use function array_merge;
use function class_exists;
use function ini_get;
use function extension_loaded;
use function filter_var;
use function ini_get;

use const FILTER_VALIDATE_BOOLEAN;

/**
* A reader for docblock annotations.
Expand Down Expand Up @@ -119,8 +119,10 @@ public function __construct(?DocParser $parser = null)
throw AnnotationException::optimizerPlusSaveComments();
}

if (extension_loaded('Zend OPcache') &&
filter_var(ini_get('opcache.save_comments'), FILTER_VALIDATE_BOOLEAN) === false) {
if (
extension_loaded('Zend OPcache') &&
filter_var(ini_get('opcache.save_comments'), FILTER_VALIDATE_BOOLEAN) === false
) {
throw AnnotationException::optimizerPlusSaveComments();
}

Expand Down

0 comments on commit 9ff78b9

Please sign in to comment.