Skip to content

Commit 74505c9

Browse files
committed
Minor fixes for styleci
1 parent eda563a commit 74505c9

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.styleci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
preset: laravel

src/LaravelVehapi.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public function __construct()
2929
* Return all years available.
3030
*
3131
* @param string $sort
32+
*
3233
* @return mixed
3334
*/
3435
public function getAllYears($sort = 'asc')
@@ -42,6 +43,7 @@ public function getAllYears($sort = 'asc')
4243
* @param int $minYear
4344
* @param int $maxYear
4445
* @param string $sort
46+
*
4547
* @return mixed
4648
*/
4749
public function getYearsRange(int $minYear, int $maxYear, $sort = 'asc')
@@ -53,6 +55,7 @@ public function getYearsRange(int $minYear, int $maxYear, $sort = 'asc')
5355
* Return all makes available.
5456
*
5557
* @param string $sort
58+
*
5659
* @return mixed
5760
*/
5861
public function getAllMakes($sort = 'asc')
@@ -65,6 +68,7 @@ public function getAllMakes($sort = 'asc')
6568
*
6669
* @param int $year
6770
* @param string $sort
71+
*
6872
* @return mixed
6973
*/
7074
public function getMakesByYear(int $year, $sort = 'asc')
@@ -78,6 +82,7 @@ public function getMakesByYear(int $year, $sort = 'asc')
7882
* @param int $minYear
7983
* @param int $maxYear
8084
* @param string $sort
85+
*
8186
* @return mixed
8287
*/
8388
public function getMakesByYearsRange(int $minYear, int $maxYear, $sort = 'asc')
@@ -90,6 +95,7 @@ public function getMakesByYearsRange(int $minYear, int $maxYear, $sort = 'asc')
9095
*
9196
* @param string $make
9297
* @param string $sort
98+
*
9399
* @return mixed
94100
*/
95101
public function getAllModelsByMake(string $make, $sort = 'asc')
@@ -103,6 +109,7 @@ public function getAllModelsByMake(string $make, $sort = 'asc')
103109
* @param int $year
104110
* @param string $make
105111
* @param string $sort
112+
*
106113
* @return mixed
107114
*/
108115
public function getModelsByYearAndMake(int $year, string $make, $sort = 'asc')
@@ -116,6 +123,7 @@ public function getModelsByYearAndMake(int $year, string $make, $sort = 'asc')
116123
* @param int $year
117124
* @param string $make
118125
* @param string $model
126+
*
119127
* @return mixed
120128
*/
121129
public function getTrimsByYearMakeAndModel(int $year, string $make, string $model)
@@ -130,6 +138,7 @@ public function getTrimsByYearMakeAndModel(int $year, string $make, string $mode
130138
* @param string $make
131139
* @param string $model
132140
* @param string $trim
141+
*
133142
* @return mixed
134143
*/
135144
public function getTransmissionsByYearMakeModelAndTrim(int $year, string $make, string $model, string $trim)
@@ -145,6 +154,7 @@ public function getTransmissionsByYearMakeModelAndTrim(int $year, string $make,
145154
* @param string $model
146155
* @param string $trim
147156
* @param string $transmission
157+
*
148158
* @return mixed
149159
*/
150160
public function getEnginesByYearMakeModelTrimAndTransmission(int $year, string $make, string $model, string $trim, string $transmission)
@@ -156,6 +166,7 @@ public function getEnginesByYearMakeModelTrimAndTransmission(int $year, string $
156166
* Return the logo for the make supplied.
157167
*
158168
* @param string $make
169+
*
159170
* @return mixed
160171
*/
161172
public function getMakeLogo(string $make)

src/LaravelVehapiServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function register()
5454

5555
// Register the main class to use with the facade
5656
$this->app->singleton('laravel-vehapi', function () {
57-
return new LaravelVehapi;
57+
return new LaravelVehapi();
5858
});
5959
}
6060
}

tests/ExampleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Codebyray\LaravelVehapi\Tests;
44

5-
use Orchestra\Testbench\TestCase;
65
use Codebyray\LaravelVehapi\LaravelVehapiServiceProvider;
6+
use Orchestra\Testbench\TestCase;
77

88
class ExampleTest extends TestCase
99
{

0 commit comments

Comments
 (0)