Completed
Push — develop ( fcd30f...13b4a5 )
by Stuart
01:59
created
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/trace-functions.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -44,13 +44,13 @@
 block discarded – undo
44 44
 use GanbaroDigital\MissingBits\TraceInspectors\GetCaller;
45 45
 use GanbaroDigital\MissingBits\TraceInspectors\StackFrame;
46 46
 
47
- /**
48
-  * work out who has called a piece of code
49
-  *
50
-  * @param  array $filterList
51
-  *         a list of namespaces and classes to skip over
52
-  * @return StackFrame
53
-  */
47
+    /**
48
+     * work out who has called a piece of code
49
+     *
50
+     * @param  array $filterList
51
+     *         a list of namespaces and classes to skip over
52
+     * @return StackFrame
53
+     */
54 54
 function get_caller(array $filterList = [])
55 55
 {
56 56
     // we supply the trace
Please login to merge, or discard this patch.
src/string-functions.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,8 @@  discard block
 block discarded – undo
52 52
 *         the unmodified $key if it is not a string
53 53
 *         the quoted $key if it is a string
54 54
 */
55
-function quote_index($key) {
55
+function quote_index($key)
56
+{
56 57
     if (!is_string($key)) {
57 58
         return $key;
58 59
     }
@@ -68,7 +69,8 @@  discard block
 block discarded – undo
68 69
  *         the property name to add braces to (if required)
69 70
  * @return string
70 71
  */
71
-function quote_property($propertyName) {
72
+function quote_property($propertyName)
73
+{
72 74
     // robustness!
73 75
     if (!check_is_stringy($propertyName)) {
74 76
         throw new InvalidArgumentException('$propertyName is not a valid class or object property name');
Please login to merge, or discard this patch.