@@ -39,7 +39,7 @@ |
||
39 | 39 | public function getCompleters(Project $project, Context $context) |
40 | 40 | { |
41 | 41 | $completers = []; |
42 | - foreach($this->completers as $completer) { |
|
42 | + foreach ($this->completers as $completer) { |
|
43 | 43 | if ($completer->canHandle($project, $context)) { |
44 | 44 | $completers[] = $completer; |
45 | 45 | } |
@@ -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 | } |