This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw NotFoundHttpException when debug is disabled (#13)
* Throw NotFoundHttpException when debug is disabled Throw NotFoundHttpException when debug is disabled and pass string in URL for example `http://site.com/user/1844379023` work find but `http://site.com/user/test` throw InvalidArgumentException * Add test unit * support old php version * Use call instead of get * Fix errors with legacy version of laravel
- Loading branch information
1 parent
b3d16ee
commit 13cecfd
Showing
4 changed files
with
116 additions
and
24 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
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,10 @@ | ||
<?php | ||
namespace Propaganistas\LaravelFakeId\Tests\Entities; | ||
|
||
use Illuminate\Database\Eloquent\Model; | ||
use Propaganistas\LaravelFakeId\FakeIdTrait; | ||
|
||
class Fake extends Model | ||
{ | ||
use FakeIdTrait; | ||
} |
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 Propaganistas\LaravelFakeId\Tests\Entities; | ||
|
||
use Illuminate\Database\Eloquent\Model; | ||
|
||
class Real extends Model | ||
{ | ||
|
||
} |
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