@@ -17,7 +17,7 @@ |
||
17 | 17 | ], 'config'); |
18 | 18 | |
19 | 19 | |
20 | - if (! class_exists('CreateCommentsTable')) { |
|
20 | + if (!class_exists('CreateCommentsTable')) { |
|
21 | 21 | $this->publishes([ |
22 | 22 | __DIR__.'/../database/migrations/create_comments_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_comments_table.php'), |
23 | 23 | ], 'migrations'); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | $comment = new $commentClass([ |
45 | 45 | 'comment' => $comment, |
46 | - 'is_approved' => ($user instanceof Commentator) ? ! $user->needsCommentApproval($this) : false, |
|
46 | + 'is_approved' => ($user instanceof Commentator) ? !$user->needsCommentApproval($this) : false, |
|
47 | 47 | 'user_id' => is_null($user) ? null : $user->getKey(), |
48 | 48 | 'commentable_id' => $this->getKey(), |
49 | 49 | 'commentable_type' => get_class(), |