@@ -57,7 +57,7 @@ |
||
57 | 57 | { |
58 | 58 | return $this->view->make($template, [ |
59 | 59 | 'states' => $this->getTableState(), |
60 | - 'action' => '\\' . $this->class . '@' |
|
60 | + 'action' => '\\'.$this->class.'@' |
|
61 | 61 | ]); |
62 | 62 | } |
63 | 63 |
@@ -45,7 +45,7 @@ |
||
45 | 45 | */ |
46 | 46 | public function getQualifiedStatusColumn() |
47 | 47 | { |
48 | - return $this->getTable() . '.' . $this->getStatusColumn(); |
|
48 | + return $this->getTable().'.'.$this->getStatusColumn(); |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
@@ -14,11 +14,11 @@ |
||
14 | 14 | |
15 | 15 | public function scopeWithoutCurrentLanguage($query) |
16 | 16 | { |
17 | - return $query->where($this->getTable().'.iso','<>',app()->getLocale()); |
|
17 | + return $query->where($this->getTable().'.iso', '<>', app()->getLocale()); |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | public function scopeWithTranslationElement($query) |
21 | 21 | { |
22 | - return $query->where($this->getTable().'.iso','<>',app()->getLocale()); |
|
22 | + return $query->where($this->getTable().'.iso', '<>', app()->getLocale()); |
|
23 | 23 | } |
24 | 24 | } |
25 | 25 | \ No newline at end of file |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | foreach ($this->events as $name => $event) |
22 | 22 | { |
23 | - Event::listen($name, get_class($this) . '@' . $event['action'], $event['priority']); |
|
23 | + Event::listen($name, get_class($this).'@'.$event['action'], $event['priority']); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | } |
@@ -61,7 +61,7 @@ |
||
61 | 61 | |
62 | 62 | foreach ($dataActions as $action) |
63 | 63 | { |
64 | - $dataResult[$action] = trans('expendable::mail.' . $action); |
|
64 | + $dataResult[$action] = trans('expendable::mail.'.$action); |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | return self::getLabel($dataResult, $id); |
@@ -227,6 +227,6 @@ |
||
227 | 227 | */ |
228 | 228 | protected function getStub() |
229 | 229 | { |
230 | - return __DIR__ . '/Lib/stubs/' . $this->getTemplate() . '.stub'; |
|
230 | + return __DIR__.'/Lib/stubs/'.$this->getTemplate().'.stub'; |
|
231 | 231 | } |
232 | 232 | } |
233 | 233 | \ No newline at end of file |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | $model = last($model); |
9 | 9 | $model = preg_replace('/\.php/i', '', $model); |
10 | 10 | |
11 | - return '\\' . $model; |
|
11 | + return '\\'.$model; |
|
12 | 12 | |
13 | 13 | } |
14 | 14 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | $state = preg_replace('/Contracts/i', 'States', $state); |
22 | 22 | $state = preg_replace('/Contract/i', 'Trait', $state); |
23 | - $result .= 'use ' . $state . ';' . "\n"; |
|
23 | + $result .= 'use '.$state.';'."\n"; |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | return $result; |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | public function getImplementation($states) |
31 | 31 | { |
32 | - $result = 'implements ' . join(', ', $states); |
|
32 | + $result = 'implements '.join(', ', $states); |
|
33 | 33 | |
34 | 34 | return $result; |
35 | 35 |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | |
19 | 19 | $this->{$this->column_nb_of_try_name} += 1; |
20 | 20 | \DB::table($this->getTable()) |
21 | - ->where($this->getKeyName(),$this->getKey()) |
|
21 | + ->where($this->getKeyName(), $this->getKey()) |
|
22 | 22 | ->increment($this->column_nb_of_try_name); |
23 | 23 | return $this; |
24 | 24 | |
@@ -28,8 +28,8 @@ discard block |
||
28 | 28 | { |
29 | 29 | |
30 | 30 | \DB::table($this->getTable()) |
31 | - ->where($this->getKeyName(),$this->getKey()) |
|
32 | - ->decrement($this->column_nb_of_try_name,$this->{$this->column_nb_of_try_name}); |
|
31 | + ->where($this->getKeyName(), $this->getKey()) |
|
32 | + ->decrement($this->column_nb_of_try_name, $this->{$this->column_nb_of_try_name}); |
|
33 | 33 | |
34 | 34 | $this->{$this->column_nb_of_try_name} = 0; |
35 | 35 | return $this; |
@@ -41,8 +41,8 @@ discard block |
||
41 | 41 | $this->{$this->column_nb_of_try_name} = config($this->config_key_security_lock) + 1; |
42 | 42 | |
43 | 43 | \DB::table($this->getTable()) |
44 | - ->where($this->getKeyName(),$this->getKey()) |
|
45 | - ->increment($this->column_nb_of_try_name,$this->{$this->column_nb_of_try_name} ); |
|
44 | + ->where($this->getKeyName(), $this->getKey()) |
|
45 | + ->increment($this->column_nb_of_try_name, $this->{$this->column_nb_of_try_name} ); |
|
46 | 46 | |
47 | 47 | return $this; |
48 | 48 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | |
14 | 14 | $input = $request->all(); |
15 | 15 | |
16 | - array_walk_recursive($input, function (&$input) { |
|
16 | + array_walk_recursive($input, function(&$input) { |
|
17 | 17 | |
18 | 18 | $input = (new Security)->xss_clean($input); |
19 | 19 |