Skip to content

Commit 1245e36

Browse files
authored
Merge pull request #20 from poing/analysis-PG6j2m
Apply fixes from StyleCI
2 parents 1304e07 + 3227a19 commit 1245e36

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

source/EarmarkServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,11 @@ protected function registerEloquentFactoriesFrom($path)
9393
$this->loadFactoriesFrom($path);
9494
}
9595
}
96-
96+
9797
/* Depreciated
9898
protected function registerEloquentFactoriesFrom($path)
9999
{
100100
$this->app->make(EloquentFactory::class)->load($path);
101101
}
102102
*/
103-
104-
105103
}

source/Http/Controllers/Serial.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,11 @@ private function affix($number)
115115
return $this->prefix.$data; // . $this->suffix;
116116
}
117117

118-
119118
private function unfix($number)
120119
{
121120
if ($this->prefix) {
122121
$data = ltrim($number, $this->prefix);
123-
} else {
122+
} else {
124123
$data = $number;
125124
}
126125

source/database/factories/EarMarkFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Database\Factories;
44

55
use Illuminate\Database\Eloquent\Factories\Factory;
6-
use Poing\Earmark\Models\EarMark;
76
use Poing\Earmark\Helpers\Boost;
7+
use Poing\Earmark\Models\EarMark;
88

99
class EarMarkFactory extends Factory
1010
{

0 commit comments

Comments
 (0)