Unverified Commit 71ff81f3 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #216 from viralsolani/analysis-XZ5V6g

Apply fixes from StyleCI
parents d5b43677 c743f803
...@@ -6,9 +6,9 @@ use App\Http\Controllers\Controller; ...@@ -6,9 +6,9 @@ use App\Http\Controllers\Controller;
use App\Http\Requests\Backend\Blogs\ManageBlogsRequest; use App\Http\Requests\Backend\Blogs\ManageBlogsRequest;
use App\Http\Requests\Backend\Blogs\StoreBlogsRequest; use App\Http\Requests\Backend\Blogs\StoreBlogsRequest;
use App\Http\Requests\Backend\Blogs\UpdateBlogsRequest; use App\Http\Requests\Backend\Blogs\UpdateBlogsRequest;
use App\Http\Responses\Backend\Blog\IndexResponse;
use App\Http\Responses\Backend\Blog\CreateResponse; use App\Http\Responses\Backend\Blog\CreateResponse;
use App\Http\Responses\Backend\Blog\EditResponse; use App\Http\Responses\Backend\Blog\EditResponse;
use App\Http\Responses\Backend\Blog\IndexResponse;
use App\Http\Responses\RedirectResponse; use App\Http\Responses\RedirectResponse;
use App\Models\BlogCategories\BlogCategory; use App\Models\BlogCategories\BlogCategory;
use App\Models\Blogs\Blog; use App\Models\Blogs\Blog;
......
...@@ -6,9 +6,9 @@ use Illuminate\Contracts\Support\Responsable; ...@@ -6,9 +6,9 @@ use Illuminate\Contracts\Support\Responsable;
class CreateResponse implements Responsable class CreateResponse implements Responsable
{ {
protected $status, protected $status;
$blogTags, protected $blogTags;
$blogCategories; protected $blogCategories;
public function __construct($status, $blogCategories, $blogTags) public function __construct($status, $blogCategories, $blogTags)
{ {
...@@ -25,5 +25,4 @@ class CreateResponse implements Responsable ...@@ -25,5 +25,4 @@ class CreateResponse implements Responsable
'status' => $this->status, 'status' => $this->status,
]); ]);
} }
} }
...@@ -6,10 +6,10 @@ use Illuminate\Contracts\Support\Responsable; ...@@ -6,10 +6,10 @@ use Illuminate\Contracts\Support\Responsable;
class EditResponse implements Responsable class EditResponse implements Responsable
{ {
protected $blog, protected $blog;
$status, protected $status;
$blogTags, protected $blogTags;
$blogCategories; protected $blogCategories;
public function __construct($blog, $status, $blogCategories, $blogTags) public function __construct($blog, $status, $blogCategories, $blogTags)
{ {
...@@ -33,5 +33,4 @@ class EditResponse implements Responsable ...@@ -33,5 +33,4 @@ class EditResponse implements Responsable
'status' => $this->status, 'status' => $this->status,
]); ]);
} }
} }
...@@ -19,5 +19,4 @@ class IndexResponse implements Responsable ...@@ -19,5 +19,4 @@ class IndexResponse implements Responsable
'status'=> $this->status, 'status'=> $this->status,
]); ]);
} }
} }
...@@ -6,8 +6,8 @@ use Illuminate\Contracts\Support\Responsable; ...@@ -6,8 +6,8 @@ use Illuminate\Contracts\Support\Responsable;
class RedirectResponse implements Responsable class RedirectResponse implements Responsable
{ {
protected $route, protected $route;
$message; protected $message;
public function __construct($route, $message) public function __construct($route, $message)
{ {
...@@ -21,5 +21,4 @@ class RedirectResponse implements Responsable ...@@ -21,5 +21,4 @@ class RedirectResponse implements Responsable
->route($this->route) ->route($this->route)
->with($this->message); ->with($this->message);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment