Completed
Push — master ( cb4e34...0670fd )
by Rudie
03:57
created
lib/fuelly/src/Vehicle.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 	/**
19 19
 	 *
20 20
 	 */
21
-	public function __construct( Client $client, array $vehicle ) {
21
+	public function __construct(Client $client, array $vehicle) {
22 22
 		$this->client = $client;
23 23
 
24 24
 		$this->id = $vehicle['id'];
@@ -26,10 +26,10 @@  discard block
 block discarded – undo
26 26
 		$this->name = $vehicle['name'];
27 27
 		$this->image = $vehicle['image'];
28 28
 
29
-		if ( isset($vehicle['trend']) ) {
29
+		if (isset($vehicle['trend'])) {
30 30
 			$input = $client->createTrendInputConversion();
31 31
 
32
-			foreach ( $vehicle['trend'] as $fuelup) {
32
+			foreach ($vehicle['trend'] as $fuelup) {
33 33
 				$this->trend[] = FuelUp::createFromTrend($this, $fuelup, $input);
34 34
 			}
35 35
 
Please login to merge, or discard this patch.
lib/fuelly/autoload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-spl_autoload_register(function( $class ) {
3
+spl_autoload_register(function($class) {
4 4
 	$ns = explode('\\', $class);
5 5
 	$lib = array_splice($ns, 0, 2);
6
-	if ( $lib == array('rdx', 'fuelly') ) {
7
-		if ( file_exists($file = __DIR__ . '/src/' . implode('/', $ns) . '.php') ) {
6
+	if ($lib == array('rdx', 'fuelly')) {
7
+		if (file_exists($file = __DIR__.'/src/'.implode('/', $ns).'.php')) {
8 8
 			include $file;
9 9
 		}
10 10
 	}
Please login to merge, or discard this patch.