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

Commit

Permalink
Merge pull request #1 from adibhanna/laravel_5_4
Browse files Browse the repository at this point in the history
Laravel 5.4
  • Loading branch information
Mulkave authored Feb 13, 2017
2 parents b488678 + ce34126 commit 28692ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Lucid\Foundation;

use TestCase as BaseTestCase;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;

class TestCase extends BaseTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion src/Validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ public function make(array $data, array $rules, array $messages = [], array $cus
*/
public function getValidationFactory()
{
return app('Illuminate\Contracts\Validation\Factory');
return app(Illuminate\Contracts\Validation\Factory::class);
}
}
2 changes: 1 addition & 1 deletion src/Value.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct($value)
*/
public function validation(array $input, array $rules, array $messages = [], array $customAttributes = [])
{
return app('Lucid\Foundation\Validation')->make($input, $rules, $messages, $customAttributes);
return app(Lucid\Foundation\Validation::class)->make($input, $rules, $messages, $customAttributes);
}

/**
Expand Down

0 comments on commit 28692ff

Please sign in to comment.