Skip to content

Commit 7bbcb16

Browse files
committed
Codestyle
1 parent 81b3d9b commit 7bbcb16

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/Inflector.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function isSingular($word)
127127
/**
128128
* Proxy for Inflector::tableize()
129129
*/
130-
public static function tableize(string $word) : string
130+
public static function tableize(string $word): string
131131
{
132132
$inflector = InflectorFactory::create()->build();
133133

@@ -137,7 +137,7 @@ public static function tableize(string $word) : string
137137
/**
138138
* Proxy for Inflector::classify()
139139
*/
140-
public static function classify(string $word) : string
140+
public static function classify(string $word): string
141141
{
142142
$inflector = InflectorFactory::create()->build();
143143

@@ -147,7 +147,7 @@ public static function classify(string $word) : string
147147
/**
148148
* Proxy for Inflector::camelize()
149149
*/
150-
public static function camelize(string $word) : string
150+
public static function camelize(string $word): string
151151
{
152152
$inflector = InflectorFactory::create()->build();
153153

@@ -157,29 +157,29 @@ public static function camelize(string $word) : string
157157
/**
158158
* Proxy for Inflector::ucwords()
159159
*/
160-
public static function ucwords(string $string, string $delimiters = " \n\t\r\0\x0B-") : string
160+
public static function ucwords(string $string, string $delimiters = " \n\t\r\0\x0B-"): string
161161
{
162162
return ucwords($string, $delimiters);
163163
}
164164

165165
/**
166166
* Empty method to suffice the former interface
167167
*/
168-
public static function reset() : void
168+
public static function reset(): void
169169
{
170170
}
171171

172172
/**
173173
* Empty method to suffice the former interface
174174
*/
175-
public static function rules(string $type, iterable $rules, bool $reset = false) : void
175+
public static function rules(string $type, iterable $rules, bool $reset = false): void
176176
{
177177
}
178178

179179
/**
180180
* Proxy for Inflector::pluralize()
181181
*/
182-
public static function pluralize(string $word) : string
182+
public static function pluralize(string $word): string
183183
{
184184
$inflector = InflectorFactory::create()->build();
185185

@@ -189,7 +189,7 @@ public static function pluralize(string $word) : string
189189
/**
190190
* Proxy for Inflector::singularize()
191191
*/
192-
public static function singularize(string $word) : string
192+
public static function singularize(string $word): string
193193
{
194194
$inflector = InflectorFactory::create()->build();
195195

0 commit comments

Comments
 (0)