Completed
Pull Request — develop (#133)
by Jaap
10:43 queued 45s
created
src/phpDocumentor/Reflection/Php/Factory/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     {
57 57
         $this->nodesFactory = $nodesFactory;
58 58
 
59
-        $lastCallable = function ($command) {
59
+        $lastCallable = function($command) {
60 60
             return $this->createFile($command);
61 61
         };
62 62
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Types/NamespaceNodeToContext.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 {
14 14
     public function __invoke(?Namespace_ $namespace) : Context
15 15
     {
16
-        if ( ! $namespace) {
16
+        if (!$namespace) {
17 17
             return new Context('');
18 18
         }
19 19
 
@@ -29,16 +29,16 @@  discard block
 block discarded – undo
29 29
     private function aliasesToFullyQualifiedNames(Namespace_ $namespace) : array
30 30
     {
31 31
         // flatten(flatten(map(stuff)))
32
-        return \array_merge([], ...\array_merge([], ...\array_map(function ($use) : array {
32
+        return \array_merge([], ...\array_merge([], ...\array_map(function($use) : array {
33 33
             /** @var $use Use_|GroupUse */
34 34
 
35
-            return \array_map(function (UseUse $useUse) use ($use) : array {
35
+            return \array_map(function(UseUse $useUse) use ($use) : array {
36 36
 
37 37
                 if ($use instanceof GroupUse) {
38
-                    return [(string) $useUse->getAlias() => $use->prefix->toString() . '\\' . $useUse->name->toString()];
38
+                    return [(string)$useUse->getAlias() => $use->prefix->toString().'\\'.$useUse->name->toString()];
39 39
                 }
40 40
 
41
-                return [(string) $useUse->getAlias() => $useUse->name->toString()];
41
+                return [(string)$useUse->getAlias() => $useUse->name->toString()];
42 42
             }, $use->uses);
43 43
         }, $this->classAlikeUses($namespace))));
44 44
     }
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     {
53 53
         return \array_filter(
54 54
             $namespace->stmts ?? [],
55
-            function (Node $node) : bool {
55
+            function(Node $node) : bool {
56 56
                 return (
57 57
                         $node instanceof Use_
58 58
                         || $node instanceof GroupUse
Please login to merge, or discard this patch.