|
23 | 23 | */ |
24 | 24 | <?php |
25 | 25 | $s1 = ' '; |
26 | | -$s2 = $s1.$s1; |
27 | | -$s3 = $s1.$s2; |
| 26 | +$s2 = $s1 . $s1; |
| 27 | +$s3 = $s1 . $s2; |
28 | 28 | ?> |
29 | 29 | <?php foreach ($namespaces_by_extends_ns as $namespace => $aliases) : ?> |
30 | 30 | namespace <?= $namespace === '__root' ? '' : trim($namespace, '\\') ?> { |
31 | 31 | <?php foreach ($aliases as $alias) : ?> |
32 | | - <?php echo trim($alias->getDocComment($s1)) ."\n{$s1}" . $alias->getClassType() ?> <?= $alias->getExtendsClass() ?> { |
| 32 | + <?php echo trim($alias->getDocComment($s1)) . "\n{$s1}" . $alias->getClassType() ?> <?= $alias->getExtendsClass() ?> { |
33 | 33 | <?php foreach ($alias->getMethods() as $method) : ?> |
34 | | - <?= trim($method->getDocComment($s2)) ."\n{$s2}" ?>public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefault() ?>) |
| 34 | + <?= trim($method->getDocComment($s2)) . "\n{$s2}" ?>public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefault() ?>) |
35 | 35 | {<?php if ($method->getDeclaringClass() !== $method->getRoot()) : ?> |
36 | | - <?= "\n".$s3?>//Method inherited from <?= $method->getDeclaringClass() ?> |
| 36 | + <?= "\n" . $s3?>//Method inherited from <?= $method->getDeclaringClass() ?> |
37 | 37 | <?php endif; ?> |
38 | 38 |
|
39 | 39 | <?php if ($method->isInstanceCall()) : ?> |
|
53 | 53 | namespace <?= $namespace === '__root' ? '' : trim($namespace, '\\') ?> { |
54 | 54 | <?php foreach ($aliases as $alias) : ?> |
55 | 55 | <?php if ($alias->getExtendsNamespace() === '\Illuminate\Database\Eloquent') : ?> |
56 | | - <?= "\n".$alias->getPhpDocTemplates($s1) ."\n" ?> |
| 56 | + <?= "\n" . $alias->getPhpDocTemplates($s1) . "\n" ?> |
57 | 57 | <?php endif?> |
58 | | - <?= $s1. $alias->getClassType() ?> <?= $alias->getShortName() ?> extends <?= $alias->getExtends() ?> {<?php if ($alias->getExtendsNamespace() === '\Illuminate\Database\Eloquent') : ?> |
| 58 | + <?= $s1 . $alias->getClassType() ?> <?= $alias->getShortName() ?> extends <?= $alias->getExtends() ?> {<?php if ($alias->getExtendsNamespace() === '\Illuminate\Database\Eloquent') : ?> |
59 | 59 | <?php foreach ($alias->getMethods() as $method) : ?> |
60 | | - <?= $s2 . trim($method->getDocComment($s2))."\n" ?> |
| 60 | + <?= $s2 . trim($method->getDocComment($s2)) . "\n" ?> |
61 | 61 | <?= $s2 ?>public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefault() ?>) |
62 | 62 | <?= $s2?>{<?php if ($method->getDeclaringClass() !== $method->getRoot()) : ?> |
63 | 63 | <?= $s2 ?>//Method inherited from <?= $method->getDeclaringClass() ?> |
|
0 commit comments