Completed
Push — develop ( fdbde9...aeee37 )
by Stuart
02:48
created
src/trace-functions.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -43,13 +43,13 @@
 block discarded – undo
43 43
 
44 44
 use GanbaroDigital\MissingBits\TraceInspectors\GetCaller;
45 45
 
46
- /**
47
-  * work out who has called a piece of code
48
-  *
49
-  * @param  array $filterList
50
-  *         a list of namespaces and classes to skip over
51
-  * @return StackFrame
52
-  */
46
+    /**
47
+     * work out who has called a piece of code
48
+     *
49
+     * @param  array $filterList
50
+     *         a list of namespaces and classes to skip over
51
+     * @return StackFrame
52
+     */
53 53
 function get_caller(array $filterList = [])
54 54
 {
55 55
     // we supply the trace
Please login to merge, or discard this patch.
src/TypeInspectors/GetDuckTypes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      *
60 60
      * @param  mixed $item
61 61
      *         the item to examine
62
-     * @return array
62
+     * @return string[]
63 63
      *         the list of type(s) that this item can be
64 64
      */
65 65
     public function __invoke($item)
Please login to merge, or discard this patch.
src/list-functions.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -45,17 +45,17 @@
 block discarded – undo
45 45
 use GanbaroDigital\MissingBits\ListTraversals\TraverseList;
46 46
 use GanbaroDigital\MissingBits\ListTraversals\TraverseObject;
47 47
 
48
- /**
49
-  * traverse a list held in an array
50
-  *
51
-  * @param  array $list
52
-  *         the list to walk
53
-  * @param  string $listName
54
-  *         what is the name of $list in the calling code?
55
-  * @param  callable $callable
56
-  *         what are we calling
57
-  * @return void
58
-  */
48
+    /**
49
+     * traverse a list held in an array
50
+     *
51
+     * @param  array $list
52
+     *         the list to walk
53
+     * @param  string $listName
54
+     *         what is the name of $list in the calling code?
55
+     * @param  callable $callable
56
+     *         what are we calling
57
+     * @return void
58
+     */
59 59
 function traverse_array($list, $listName, callable $callable)
60 60
 {
61 61
     return TraverseArray::using($list, $listName, $callable);
Please login to merge, or discard this patch.
src/type-functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -543,7 +543,7 @@  discard block
 block discarded – undo
543 543
 /**
544 544
  * is $item something that PHP will accept as a string?
545 545
  *
546
- * @param  mixed $item
546
+ * @param  string $item
547 547
  *         the variable to examine
548 548
  * @return bool
549 549
  *         TRUE if PHP will happily use $item as a string
@@ -652,7 +652,7 @@  discard block
 block discarded – undo
652 652
 /**
653 653
  * what PHP type is $item?
654 654
  *
655
- * @param  mixed $item
655
+ * @param  string $item
656 656
  *         the data to examine
657 657
  * @param  int $flags
658 658
  *         options to change what we put in the return value
@@ -669,7 +669,7 @@  discard block
 block discarded – undo
669 669
  *
670 670
  * @param  mixed $item
671 671
  *         the item to examine
672
- * @return array
672
+ * @return string[]
673 673
  *         the list of type(s) that this item can be
674 674
  */
675 675
 function get_strict_types($item)
Please login to merge, or discard this patch.