Completed
Push — master ( c23db2...9a0aab )
by Vitaliy
03:27
created
src/Extended/ObjectCollectionTrait.php 1 patch
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,14 +14,14 @@  discard block
 block discarded – undo
14 14
 
15 15
     /**
16 16
      * @param callable $callback
17
-     * @param array|null $optionalArguments
17
+     * @param string[] $optionalArguments
18 18
      * @return static
19 19
      */
20 20
     abstract public function find(callable $callback, array $optionalArguments = null);
21 21
 
22 22
     /**
23 23
      * @param callable $callback
24
-     * @param array|null $optionalArguments
24
+     * @param string[] $optionalArguments
25 25
      * @return static
26 26
      */
27 27
     abstract public function filter(callable $callback, array $optionalArguments = null);
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @param string $className
37 37
      *
38
-     * @return mixed
38
+     * @return ObjectCollectionTrait
39 39
      */
40 40
     public function findByType($className)
41 41
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param string $propertyName
69 69
      * @param $value
70 70
      * @param bool $useGetters
71
-     * @return mixed
71
+     * @return ObjectCollectionTrait
72 72
      */
73 73
     public function findByProperty($propertyName, $value, $useGetters = false)
74 74
     {
@@ -94,6 +94,10 @@  discard block
 block discarded – undo
94 94
         });
95 95
     }
96 96
 
97
+    /**
98
+     * @param string $propertyName
99
+     * @param boolean $useGetters
100
+     */
97 101
     private function getPropertyComparator($propertyName, $value, $useGetters)
98 102
     {
99 103
         if ($useGetters) {
Please login to merge, or discard this patch.