Completed
Push — master ( 8be84a...55d4ba )
by Guido
03:26
created
src/Helpers/annotations/AnnotationUtil.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
     /**
12 12
      * @param $className
13
-     * @param $method
13
+     * @param string $method
14 14
      * @param $annotationName
15 15
      * @throws ReflectionException
16 16
      * @return array|boolean
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
         return $this->getAnnotationFromArray($comments, $annotationName);
24 24
     }
25 25
 
26
+    /**
27
+     * @param \PHPUnit\Framework\MockObject\MockObject $httpRequest
28
+     */
26 29
     public function validateMethods(array $allowedMethods, $httpRequest): bool
27 30
     {
28 31
         if (count($allowedMethods) < 1) {
@@ -46,6 +49,9 @@  discard block
 block discarded – undo
46 49
         return [];
47 50
     }
48 51
 
52
+    /**
53
+     * @param string $string
54
+     */
49 55
     private function getArrayFromComment($string)
50 56
     {
51 57
         $filteredString = str_replace(array('(', ')', '"', ','), '', $string);
Please login to merge, or discard this patch.