Completed
Branch master (062b37)
by Michael
01:58
created
src/Arrgh.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,6 +204,10 @@  discard block
 block discarded – undo
204 204
     }
205 205
 
206 206
     /* Wraps a callable with the purpose of fixing bad PHP sort implementations */
207
+
208
+    /**
209
+     * @param Closure $callable
210
+     */
207 211
     private static function wrapCallable($callable)
208 212
     {
209 213
         $direction = Arrgh::getSortDirection();
@@ -215,6 +219,10 @@  discard block
 block discarded – undo
215 219
     }
216 220
 
217 221
     /* Transforms the incoming calls to native calls */
222
+
223
+    /**
224
+     * @param Arrgh $object
225
+     */
218 226
     private static function invoke($method, $args, $object = null)
219 227
     {
220 228
         self::getSortDirection();
@@ -651,7 +659,7 @@  discard block
 block discarded – undo
651 659
      * Partion the input based on the result of the callback function.
652 660
      *
653 661
      * @param array    $array    A collection
654
-     * @param Closeure $callable A callable returning true or false depending on which way to partion the element—left or right.
662
+     * @param Closure $callable A callable returning true or false depending on which way to partion the element—left or right.
655 663
      * @return array An array with two arrays—left and right: [left, right]
656 664
      */
657 665
     private static function arrgh_partition($array, $callable)
Please login to merge, or discard this patch.