Passed
Push — main ( 0f6191...c8d3b7 )
by Thierry
02:40
created
src/Annotation/CallbackAnnotation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,11 +62,11 @@
 block discarded – undo
62 62
      */
63 63
     public function initAnnotation(array $properties)
64 64
     {
65
-        if(count($properties) !== 1 || !isset($properties['name']) || !is_string($properties['name']))
65
+        if (count($properties) !== 1 || !isset($properties['name']) || !is_string($properties['name']))
66 66
         {
67 67
             throw new AnnotationException('the @callback annotation requires a single string as property');
68 68
         }
69
-        if(!$this->validateObjectName($properties['name']))
69
+        if (!$this->validateObjectName($properties['name']))
70 70
         {
71 71
             throw new AnnotationException($properties['name'] . ' is not a valid "name" value for the @callback annotation');
72 72
         }
Please login to merge, or discard this patch.