@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function up() |
| 23 | 23 | { |
| 24 | - Schema::create($this->table_menus, function (Blueprint $table) { |
|
| 24 | + Schema::create($this->table_menus, function(Blueprint $table) { |
|
| 25 | 25 | $table->increments('id'); |
| 26 | 26 | $table->string('name')->index(); |
| 27 | 27 | $table->string('permission')->nullable()->index(); |
@@ -30,12 +30,12 @@ |
||
| 30 | 30 | |
| 31 | 31 | public function hasConfirmationCode() |
| 32 | 32 | { |
| 33 | - return ! is_null($this->{$this->confirmation_token_field} ); |
|
| 33 | + return !is_null($this->{$this->confirmation_token_field} ); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | public function isPendingConfirmation() |
| 37 | 37 | { |
| 38 | - return ! $this->isConfirmed() && $this->hasConfirmationCode(); |
|
| 38 | + return !$this->isConfirmed() && $this->hasConfirmationCode(); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | public function getConfirmationField() |