@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | str_ireplace( |
54 | 54 | $searchString, |
55 | 55 | '<info>' . $searchString . '</info>', |
56 | - (string) $match->node->comment |
|
56 | + (string)$match->node->comment |
|
57 | 57 | ) |
58 | 58 | ); |
59 | 59 | } |
@@ -119,14 +119,14 @@ discard block |
||
119 | 119 | { |
120 | 120 | $match = new \stdClass; |
121 | 121 | $match->type = $this->_getNodeType($node); |
122 | - if (stristr((string) $node->label, $searchString)) { |
|
122 | + if (stristr((string)$node->label, $searchString)) { |
|
123 | 123 | $match->match_type = 'label'; |
124 | 124 | $match->node = $node; |
125 | 125 | |
126 | 126 | return $match; |
127 | 127 | } |
128 | 128 | |
129 | - if (stristr((string) $node->comment, $searchString)) { |
|
129 | + if (stristr((string)$node->comment, $searchString)) { |
|
130 | 130 | $match->match_type = 'comment'; |
131 | 131 | $match->node = $node; |
132 | 132 | |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | { |
209 | 209 | switch ($match->type) { |
210 | 210 | case 'section': |
211 | - return (string) $match->node->label . ' -> ... -> ...'; |
|
211 | + return (string)$match->node->label . ' -> ... -> ...'; |
|
212 | 212 | |
213 | 213 | case 'field': |
214 | 214 | $parent = current($match->node->xpath('parent::*')); |