@@ -29,7 +29,7 @@ |
||
| 29 | 29 | $traits = []; |
| 30 | 30 | do { |
| 31 | 31 | $traits += class_uses($class, $autoload); |
| 32 | - } while($class = get_parent_class($class)); |
|
| 32 | + } while ($class = get_parent_class($class)); |
|
| 33 | 33 | |
| 34 | 34 | // 寻找所有的trait |
| 35 | 35 | $search = $traits; |
@@ -438,7 +438,7 @@ discard block |
||
| 438 | 438 | |
| 439 | 439 | try { |
| 440 | 440 | return $this->get($parameterClassName); |
| 441 | - } catch(UnableToInstantiateException | UnableToResolveParameterException $e) { |
|
| 441 | + } catch (UnableToInstantiateException | UnableToResolveParameterException $e) { |
|
| 442 | 442 | if ($parameter->allowsNull()) { |
| 443 | 443 | return null; |
| 444 | 444 | } |
@@ -536,7 +536,7 @@ discard block |
||
| 536 | 536 | return $declaringFunction->getName(); |
| 537 | 537 | } |
| 538 | 538 | |
| 539 | - return $class->getName() . '::' . $declaringFunction->getName(); |
|
| 539 | + return $class->getName().'::'.$declaringFunction->getName(); |
|
| 540 | 540 | } |
| 541 | 541 | |
| 542 | 542 | /** |