Skip to content

Commit

Permalink
refactor: php7 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed May 18, 2021
1 parent f3b27eb commit da69bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/EventSubscriber/ControllerSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ControllerSubscriber implements EventSubscriberInterface
private Reader $reader;

public function __construct(
Reader $reader,
Reader $reader
) {
$this->reader = $reader;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getAnnotations(
* @param string|object $class
*/
private function filterAnnotationClass(
$annotation,
$annotation
): bool {
return \is_a($annotation, $this->annotationClass, true);
}
Expand Down

0 comments on commit da69bfe

Please sign in to comment.