|
@@ -332,7 +332,8 @@ |
|
|
block discarded – undo |
|
332
|
332
|
|
|
333
|
333
|
$match = null; |
|
334
|
334
|
foreach ($Statements as $Statement) { |
|
335
|
|
- if ($Statement->command === 'uses' || $Statement->command === 'see') { //@todo either one, not both? |
|
|
335
|
+ if ($Statement->command === 'uses' || $Statement->command === 'see') { |
|
|
336
|
+//@todo either one, not both? |
|
336
|
337
|
if (preg_match('/^((?:\\w+)|\$this)(?:(::|->)(\\w+))?(?:\\(\\))?$/', strtolower($Statement->data), $match) === 1) { |
|
337
|
338
|
if (count($match) >= 3) { |
|
338
|
339
|
$Class = null; |
Please login to merge, or discard this patch.