Skip to content

Commit f265ffc

Browse files
authored
Apply fixes from StyleCI (#34)
[ci skip] [skip ci]
1 parent 9c9e10a commit f265ffc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/DataObjects/Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function middleware()
3838
return $this->middleware;
3939
}
4040

41-
public function action() : string
41+
public function action(): string
4242
{
4343
return $this->route->getActionName();
4444
}

src/Generator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ protected function addActionScopes()
179179
}
180180
}
181181

182-
protected function getFormRules() : array
182+
protected function getFormRules(): array
183183
{
184184
$action_instance = $this->getActionClassInstance();
185185

@@ -218,7 +218,7 @@ protected function getParameterGenerator($rules)
218218
}
219219
}
220220

221-
private function getActionClassInstance() : ?ReflectionMethod
221+
private function getActionClassInstance(): ?ReflectionMethod
222222
{
223223
[$class, $method] = Str::parseCallback($this->route->action());
224224

0 commit comments

Comments
 (0)