@@ -83,7 +83,7 @@ |
||
83 | 83 | $context = $this->contextResolver->getContext($badLine, $project->getIndex(), $scope); |
84 | 84 | $completers = $this->completerFactory->getCompleters($project, $context); |
85 | 85 | $entries = []; |
86 | - foreach($completers as $completer) { |
|
86 | + foreach ($completers as $completer) { |
|
87 | 87 | $entries = array_merge($entries, $completer->getEntries($project, $context)); |
88 | 88 | } |
89 | 89 | return $entries; |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $this->addType(self::T_UNKNOWN); |
59 | 59 | } |
60 | 60 | if (!$this->isReady()) { |
61 | - $this->symbol = $symbol . $this->symbol; |
|
61 | + $this->symbol = $symbol.$this->symbol; |
|
62 | 62 | } |
63 | 63 | } |
64 | 64 | |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | */ |
173 | 173 | protected function removeType($type) |
174 | 174 | { |
175 | - if((bool) ($this->type & $type)){ |
|
175 | + if ((bool) ($this->type & $type)) { |
|
176 | 176 | $this->type ^= $type; |
177 | 177 | } |
178 | 178 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | /** |
46 | 46 | * @param integer $modifier |
47 | 47 | */ |
48 | - public function setModifier($modifier){ |
|
48 | + public function setModifier($modifier) { |
|
49 | 49 | $this->modifier = $modifier; |
50 | 50 | } |
51 | 51 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** @var Project */ |
36 | 36 | $project = $projectRepository->findByPath($path); |
37 | 37 | $classesList = []; |
38 | - $dto = function ($class) use ($path, $pathResolver) { |
|
38 | + $dto = function($class) use ($path, $pathResolver) { |
|
39 | 39 | return [ |
40 | 40 | 'fqcn' => $class->fqcn->toString(), |
41 | 41 | 'filepath' => $pathResolver->join([$path, $class->file]) |
@@ -23,7 +23,7 @@ |
||
23 | 23 | |
24 | 24 | public function writeln($message, $options = 0) |
25 | 25 | { |
26 | - return $this->client->write($message . "\n"); |
|
26 | + return $this->client->write($message."\n"); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | public function disconnect() |