Completed
Push — master ( ca0579...2ba251 )
by Michael
02:05
created
src/Arrgh.php 1 patch
Doc Comments   +18 added lines, -7 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      * @see keep
102 102
      * @see keepOnce
103 103
      * @see breakChain
104
-     * @return Arrgh\Arrgh self
104
+     * @return Arrgh self
105 105
      */
106 106
     public function keepChain($value = true, $keep_once = false)
107 107
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      *
117 117
      * @method keep
118 118
      * @see keepChain
119
-     * @return Arrgh\Arrgh self
119
+     * @return Arrgh self
120 120
      */
121 121
     public function keep()
122 122
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      *
130 130
      * @method keepOnce
131 131
      * @see keepChain
132
-     * @return Arrgh\Arrgh self
132
+     * @return Arrgh self
133 133
      */
134 134
     public function keepOnce()
135 135
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @method breakChain
144 144
      * @see keepChain
145
-     * @return Arrgh\Arrgh self
145
+     * @return Arrgh self
146 146
      */
147 147
     public function breakChain()
148 148
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
      *
244 244
      * @param  mixed      $array Optional parameter that can be either an array or another Arrgh object.
245 245
      * @see chain
246
-     * @return Arrgh\Arrgh       A new Arrgh object
246
+     * @return Arrgh       A new Arrgh object
247 247
      */
248 248
     public static function arr($array = [])
249 249
     {
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
      *
256 256
      * @param  mixed      $array Optional parameter that can be either an array or another Arrgh object.
257 257
      * @see arr
258
-     * @return Arrgh\Arrgh       A new Arrgh object
258
+     * @return Arrgh       A new Arrgh object
259 259
      */
260 260
     public static function chain($array = [])
261 261
     {
@@ -440,6 +440,7 @@  discard block
 block discarded – undo
440 440
      *
441 441
      * @internal
442 442
      *
443
+     * @param string $method
443 444
      * @return array Returns a tuble of [handler, function, postHandler]
444 445
      */
445 446
     private static function findFunction($method)
@@ -474,6 +475,7 @@  discard block
 block discarded – undo
474 475
      * Handles special case: asort - In PHP5 reverses equals ("arsort" doen't mess up for some reason)
475 476
      *
476 477
      * @internal
478
+     * @param string $matching_function
477 479
      */
478 480
     private static function handleCaseAsort(&$matching_function, &$args)
479 481
     {
@@ -488,6 +490,8 @@  discard block
 block discarded – undo
488 490
      * This version of array_column returns null if the column is missing.
489 491
      *
490 492
      * @internal
493
+     * @param string|null $matching_handler
494
+     * @param string $matching_function
491 495
      */
492 496
     private static function handleCaseArrayColumn(&$matching_handler, &$matching_function, &$post_handler, &$args)
493 497
     {
@@ -812,6 +816,9 @@  discard block
 block discarded – undo
812 816
         return null;
813 817
     }
814 818
 
819
+    /**
820
+     * @param boolean $collapse
821
+     */
815 822
     private static function _arr_get_traverse_collection($path, $next_node, $collapse, $functions)
816 823
     {
817 824
         $node_depth = self::arr_depth($next_node);
@@ -849,6 +856,10 @@  discard block
 block discarded – undo
849 856
     }
850 857
 
851 858
     /* arr_get: Find next node by index */
859
+
860
+    /**
861
+     * @param integer $plug_index
862
+     */
852 863
     private static function _arr_get_traverse_next_node_index($data, $plug_index)
853 864
     {
854 865
         // Adjust negative index
@@ -931,7 +942,7 @@  discard block
 block discarded – undo
931 942
      * Partion the input based on the result of the callback function.
932 943
      *
933 944
      * @param array     $array    A collection
934
-     * @param \Closeure $callable A callable returning true or false depending on which way to partion the element—left or right.
945
+     * @param Closure $callable A callable returning true or false depending on which way to partion the element—left or right.
935 946
      * @return array An array with two arrays—left and right: [left, right]
936 947
      */
937 948
     private static function arr_partition($array, Closure $callable)
Please login to merge, or discard this patch.