Completed
Push — develop ( c17f48...375ee7 )
by Stuart
04:23 queued 01:51
created
src/type-functions.php 1 patch
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -91,8 +91,6 @@  discard block
 block discarded – undo
91 91
 /**
92 92
  * get the list of extra types that are valid for this specific object
93 93
  *
94
- * @param  object $object
95
- *         the object to examine
96 94
  * @return string[]
97 95
  *         a (possibly empty) list of types for this object
98 96
  */
@@ -104,8 +102,6 @@  discard block
 block discarded – undo
104 102
 /**
105 103
  * what PHP type is $data?
106 104
  *
107
- * @param  mixed $data
108
- *         the data to examine
109 105
  * @param  int $flags
110 106
  *         options to change what we put in the return value
111 107
  * @return string
@@ -121,7 +117,7 @@  discard block
 block discarded – undo
121 117
  *
122 118
  * @param  mixed $item
123 119
  *         the item to examine
124
- * @return array
120
+ * @return string[]
125 121
  *         the list of type(s) that this item can be
126 122
  */
127 123
 function get_strict_types($item)
Please login to merge, or discard this patch.
src/TypeInspectors/GetStrictTypes.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.
utils/typeinspector_run_dataset.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
     $varDump = ob_get_clean();
13 13
 
14 14
     $output = '```php' . PHP_EOL
15
-         . $code . PHP_EOL . PHP_EOL
16
-         . "// outputs" . PHP_EOL
17
-         . "//" . PHP_EOL;
15
+            . $code . PHP_EOL . PHP_EOL
16
+            . "// outputs" . PHP_EOL
17
+            . "//" . PHP_EOL;
18 18
 
19 19
     foreach (explode("\n", trim($varDump)) as $line) {
20 20
         $output .= "// {$line}" . PHP_EOL;
Please login to merge, or discard this patch.
src/trace-functions.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
   *
49 49
   * @param  array $filterList
50 50
   *         a list of namespaces and classes to skip over
51
-  * @return StackFrame
51
+  * @return GanbaroDigital\MissingBits\TraceInspectors\StackFrame
52 52
   */
53 53
 function get_caller(array $filterList = [])
54 54
 {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
  *         the debug_backtrace() return value
70 70
  * @param  array $filterList
71 71
  *         a list of namespaces and classes to skip over
72
- * @return StackFrame
72
+ * @return GanbaroDigital\MissingBits\TraceInspectors\StackFrame
73 73
  */
74 74
 function get_caller_from_trace(array $backtrace, array $filterList = [])
75 75
 {
Please login to merge, or discard this 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.