@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * @return void |
28 | 28 | */ |
29 | - public function run() |
|
29 | + public function run () |
|
30 | 30 | { |
31 | 31 | // Initializing variables. |
32 | 32 | $createdAt = date('Y-m-d H:i:s'); |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * @return \Illuminate\Contracts\Support\Renderable |
18 | 18 | */ |
19 | - public function index() |
|
19 | + public function index () |
|
20 | 20 | { |
21 | 21 | $countries = Country::all(); |
22 | 22 | $currencies = Currency::all(); |
@@ -11,5 +11,5 @@ |
||
11 | 11 | * |
12 | 12 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
13 | 13 | */ |
14 | - public function languages(): HasMany; |
|
14 | + public function languages (): HasMany; |
|
15 | 15 | } |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * |
23 | 23 | * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany |
24 | 24 | */ |
25 | - public function countries(): BelongsToMany; |
|
25 | + public function countries (): BelongsToMany; |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Find a Language by its name. |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * |
34 | 34 | * @return Language |
35 | 35 | */ |
36 | - public static function findByName(string $name): self; |
|
36 | + public static function findByName (string $name): self; |
|
37 | 37 | |
38 | 38 | /** |
39 | 39 | * Find a Language by its id. |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @return Language |
46 | 46 | */ |
47 | - public static function findById(int $id): self; |
|
47 | + public static function findById (int $id): self; |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Find a Language by its locale, e.g. en-gb. |
@@ -55,5 +55,5 @@ discard block |
||
55 | 55 | * |
56 | 56 | * @return Language |
57 | 57 | */ |
58 | - public static function findByLocale(string $locale): self; |
|
58 | + public static function findByLocale (string $locale): self; |
|
59 | 59 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * |
24 | 24 | * @return static |
25 | 25 | */ |
26 | - public static function create(string $languageName) |
|
26 | + public static function create (string $languageName) |
|
27 | 27 | { |
28 | 28 | return new static("There is no language named `{$languageName}`."); |
29 | 29 | } |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return static |
37 | 37 | */ |
38 | - public static function withId(int $languageId) |
|
38 | + public static function withId (int $languageId) |
|
39 | 39 | { |
40 | 40 | return new static("There is no [language] with id `{$languageId}`."); |
41 | 41 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * @return void |
28 | 28 | */ |
29 | - public function run() |
|
29 | + public function run () |
|
30 | 30 | { |
31 | 31 | // Initializing variables. |
32 | 32 | $createdAt = date('Y-m-d H:i:s'); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * @return void |
28 | 28 | */ |
29 | - public function run() |
|
29 | + public function run () |
|
30 | 30 | { |
31 | 31 | // Initializing variables. |
32 | 32 | $createdAt = date('Y-m-d H:i:s'); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * @return void |
28 | 28 | */ |
29 | - public function run() |
|
29 | + public function run () |
|
30 | 30 | { |
31 | 31 | // Initializing variables. |
32 | 32 | $createdAt = date('Y-m-d H:i:s'); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @return string name of the facade |
13 | 13 | */ |
14 | - public static function getFacadeAccessor() |
|
14 | + public static function getFacadeAccessor () |
|
15 | 15 | { |
16 | 16 | return 'localisation'; |
17 | 17 | } |