@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | public function getIndex() |
| 28 | 28 | { |
| 29 | - return redirect()->to(action('\\' . get_class($this) . '@getEdit')); |
|
| 29 | + return redirect()->to(action('\\'.get_class($this).'@getEdit')); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | // ------------------------------------------------------------------------------------------------ |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | |
| 61 | - return redirect()->to(action('\\' . get_class($this) . '@getIndex')); |
|
| 61 | + return redirect()->to(action('\\'.get_class($this).'@getIndex')); |
|
| 62 | 62 | |
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 | \ No newline at end of file |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | |
| 20 | 20 | $this->layoutManager->add([ |
| 21 | - 'class_layout'=>$class . '-full-page', |
|
| 21 | + 'class_layout'=>$class.'-full-page', |
|
| 22 | 22 | 'content'=>$content, |
| 23 | 23 | ]); |
| 24 | 24 | |
@@ -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 | } |