-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create base post controller for api package
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
parameters: | ||
ignoreErrors: | ||
- message: '#Class .+ not found#' | ||
|
||
- message: '#Parameter \#1 \$prefix of static method Illuminate\\Support\\Facades\\Route::prefix\(\) expects string, mixed given\.#' | ||
path: routes/blog-api.php | ||
|
||
- message: '#Part \$routePrefix \(mixed\) of encapsed string cannot be cast to string\.#' | ||
path: routes/blog-api.php | ||
|
||
excludePaths: | ||
- src/Http/Controllers/Base/BasePostController.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace CSlant\BlogApi\Http\Controllers\Base; | ||
|
||
use Botble\Blog\Http\Controllers\API\PostController as BotblePostController; | ||
|
||
class BasePostController extends BotblePostController | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters