Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Commit 28692ff

Browse files
authored
Merge pull request #1 from adibhanna/laravel_5_4
Laravel 5.4
2 parents b488678 + ce34126 commit 28692ff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Lucid\Foundation;
44

5-
use TestCase as BaseTestCase;
5+
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
66

77
class TestCase extends BaseTestCase
88
{

src/Validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public function make(array $data, array $rules, array $messages = [], array $cus
2929
*/
3030
public function getValidationFactory()
3131
{
32-
return app('Illuminate\Contracts\Validation\Factory');
32+
return app(Illuminate\Contracts\Validation\Factory::class);
3333
}
3434
}

src/Value.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct($value)
3434
*/
3535
public function validation(array $input, array $rules, array $messages = [], array $customAttributes = [])
3636
{
37-
return app('Lucid\Foundation\Validation')->make($input, $rules, $messages, $customAttributes);
37+
return app(Lucid\Foundation\Validation::class)->make($input, $rules, $messages, $customAttributes);
3838
}
3939

4040
/**

0 commit comments

Comments
 (0)