Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 30688c3

Browse files
committed
CS fixes per phpcs
1 parent e63532c commit 30688c3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/ZendModuleProvider.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ private function getModuleConfig(): array
6969
{
7070
$module = $this->module;
7171

72-
if (!$module instanceof ConfigProviderInterface
73-
&& !is_callable([$module, 'getConfig'])
72+
if (! $module instanceof ConfigProviderInterface
73+
&& ! is_callable([$module, 'getConfig'])
7474
) {
7575
return [];
7676
}
@@ -100,7 +100,7 @@ private function convert($config): array
100100
$config = iterator_to_array($config);
101101
}
102102

103-
if (!is_array($config)) {
103+
if (! is_array($config)) {
104104
throw new InvalidArgumentException(sprintf(
105105
'Config being merged must be an array, '
106106
. 'implement the Traversable interface, or be an '
@@ -125,7 +125,7 @@ public function setDependenciesIdentifier(string $dependenciesIdentifier): void
125125
private function getModuleDependencies(): array
126126
{
127127
$module = $this->module;
128-
if (!$module instanceof ServiceProviderInterface) {
128+
if (! $module instanceof ServiceProviderInterface) {
129129
return $this->dependencies;
130130
}
131131

@@ -134,7 +134,7 @@ private function getModuleDependencies(): array
134134

135135
public function getRouteConfig(): array
136136
{
137-
if (!$this->module instanceof RouteProviderInterface) {
137+
if (! $this->module instanceof RouteProviderInterface) {
138138
return [];
139139
}
140140

@@ -143,7 +143,7 @@ public function getRouteConfig(): array
143143

144144
public function getFormElementConfig(): array
145145
{
146-
if (!$this->module instanceof FormElementProviderInterface) {
146+
if (! $this->module instanceof FormElementProviderInterface) {
147147
return [];
148148
}
149149

@@ -152,7 +152,7 @@ public function getFormElementConfig(): array
152152

153153
public function getFilterConfig(): array
154154
{
155-
if (!$this->module instanceof FilterProviderInterface) {
155+
if (! $this->module instanceof FilterProviderInterface) {
156156
return [];
157157
}
158158

@@ -161,7 +161,7 @@ public function getFilterConfig(): array
161161

162162
public function getValidatorConfig(): array
163163
{
164-
if (!$this->module instanceof ValidatorProviderInterface) {
164+
if (! $this->module instanceof ValidatorProviderInterface) {
165165
return [];
166166
}
167167

@@ -170,7 +170,7 @@ public function getValidatorConfig(): array
170170

171171
public function getHydratorConfig(): array
172172
{
173-
if (!$this->module instanceof HydratorProviderInterface) {
173+
if (! $this->module instanceof HydratorProviderInterface) {
174174
return [];
175175
}
176176

@@ -179,7 +179,7 @@ public function getHydratorConfig(): array
179179

180180
public function getInputFilterConfig()
181181
{
182-
if (!$this->module instanceof InputFilterProviderInterface) {
182+
if (! $this->module instanceof InputFilterProviderInterface) {
183183
return [];
184184
}
185185

@@ -188,7 +188,7 @@ public function getInputFilterConfig()
188188

189189
public function getSerializerConfig(): array
190190
{
191-
if (!$this->module instanceof SerializerProviderInterface) {
191+
if (! $this->module instanceof SerializerProviderInterface) {
192192
return [];
193193
}
194194

0 commit comments

Comments
 (0)