| @@ 181-189 (lines=9) @@ | ||
| 178 | break; |
|
| 179 | } |
|
| 180 | ||
| 181 | if ($defaultValue !== null) { |
|
| 182 | // Do we get a static keyword? |
|
| 183 | if (is_array($tokens[$i])) { |
|
| 184 | $defaultValue .= $tokens[$i][1]; |
|
| 185 | ||
| 186 | } else { |
|
| 187 | $defaultValue .= $tokens[$i]; |
|
| 188 | } |
|
| 189 | } |
|
| 190 | ||
| 191 | // If we pass a = we have to get ready to make notes |
|
| 192 | if ($tokens[$i] === '=') { |
|
| @@ 104-109 (lines=6) @@ | ||
| 101 | } |
|
| 102 | ||
| 103 | // collect what we find |
|
| 104 | if (is_array($tokens[$i])) { |
|
| 105 | $result .= $tokens[$i][1]; |
|
| 106 | ||
| 107 | } else { |
|
| 108 | $result .= $tokens[$i]; |
|
| 109 | } |
|
| 110 | } |
|
| 111 | ||
| 112 | return $result; |
|