Skip to content

Commit e74c0a8

Browse files
authored
Merge pull request #2 from A-Lawrence/analysis-XNWj2G
Apply fixes from StyleCI
2 parents b5db443 + f13df80 commit e74c0a8

5 files changed

+10
-9
lines changed

src/AircraftRegistration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ public function isValid()
134134

135135
return false;
136136
}
137-
}
137+
}

src/Facade.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
use Illuminate\Support\Facades\Facade as BaseFacade;
44

5-
class Facade extends BaseFacade {
5+
class Facade extends BaseFacade
6+
{
67
/**
78
* Get the registered name of the component.
89
*
@@ -13,4 +14,4 @@ protected static function getFacadeAccessor()
1314
{
1415
return "aircraft-registration";
1516
}
16-
}
17+
}

src/Rules/AircraftRegistration.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php namespace ALawrence\LaravelAircraftRegistration\Rules;
22

3-
class AircraftRegistration {
4-
5-
}
3+
class AircraftRegistration
4+
{
5+
}

src/ServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ public function register()
2727
return new AircraftRegistration();
2828
});
2929
}
30-
}
30+
}

src/Validator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct()
2020
public function validate($attribute, $value, array $parameters, $validator)
2121
{
2222
foreach ($this->extractCountries($parameters) as $country) {
23-
if(AircraftRegistration::make($value, $country)->isValid()){
23+
if (AircraftRegistration::make($value, $country)->isValid()) {
2424
return true;
2525
}
2626
}
@@ -43,4 +43,4 @@ private function extractCountries(array $parameters)
4343
return \Iso3166\Codes::isValid($countryCode);
4444
});
4545
}
46-
}
46+
}

0 commit comments

Comments
 (0)