@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $this->_container->assignAccessor( |
75 | 75 | 'level', |
76 | 76 | P_CONTAINER_SETTER, |
77 | - function ($value) use ($that) { |
|
77 | + function($value) use ($that) { |
|
78 | 78 | $that->level = $value; |
79 | 79 | } |
80 | 80 | ); |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | $this->_container->assignAccessor( |
83 | 83 | 'level', |
84 | 84 | P_CONTAINER_GETTER, |
85 | - function () use ($that) { |
|
85 | + function() use ($that) { |
|
86 | 86 | return $that->level; |
87 | 87 | } |
88 | 88 | ); |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | $this->_container->assignAccessor( |
91 | 91 | 'level', |
92 | 92 | P_CONTAINER_IMPORTER, |
93 | - function (&$row) use ($that) { |
|
93 | + function(&$row) use ($that) { |
|
94 | 94 | $that->level = $row['unit_level']; |
95 | 95 | } |
96 | 96 | ); |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | $this->_container->assignAccessor( |
99 | 99 | 'level', |
100 | 100 | P_CONTAINER_EXPORTER, |
101 | - function (&$row) use ($that) { |
|
101 | + function(&$row) use ($that) { |
|
102 | 102 | $row['unit_level'] = $that->level; |
103 | 103 | } |
104 | 104 | ); |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | if (is_callable($callable)) { |
53 | 53 | $this->accessors[$type][$varName] = $callable; |
54 | 54 | } else { |
55 | - throw new Exception('Error assigning callable in ' . get_called_class() . '! Callable typed [' . $type . '] is not a callable or not accessible in the scope'); |
|
55 | + throw new Exception('Error assigning callable in '.get_called_class().'! Callable typed ['.$type.'] is not a callable or not accessible in the scope'); |
|
56 | 56 | } |
57 | 57 | } |
58 | 58 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | public function importRow($row) { |
76 | - if(empty($row)) { |
|
76 | + if (empty($row)) { |
|
77 | 77 | return; |
78 | 78 | } |
79 | 79 |