Skip to content

Commit

Permalink
Don't rely on Illuminate\Contracts since those aren't available in La…
Browse files Browse the repository at this point in the history
…ravel 4.2.*
  • Loading branch information
tabennett committed Oct 21, 2017
1 parent 3be4383 commit 0d8639e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/Commands/FastenCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Console\Command;
use Illuminate\Support\Str;
use Illuminate\Contracts\View\Factory as View;
use Illuminate\View\Factory as View;
use Illuminate\Filesystem\Filesystem as File;
use Symfony\Component\Console\Input\InputArgument;

Expand All @@ -26,28 +26,28 @@ class FastenCommand extends Command

/**
* An instance of Laravel's view factory.
*
*
* @var View
*/
protected $view;

/**
* An instance of Laravel's filesystem.
*
*
* @var File
*/
protected $file;

/**
* The path to the application's migrations folder.
*
*
* @var File
*/
protected $migrationsFolderPath;

/**
* Create a new command instance.
*
*
* @param View $view
* @param File $file
* @param string $migrationsFolderPath
Expand Down
6 changes: 3 additions & 3 deletions src/IlluminateConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Codesleeve\LaravelStapler;

use Codesleeve\Stapler\Interfaces\Config;
use Illuminate\Contracts\Config\Repository;
use Illuminate\Config\Repository;

class IlluminateConfig implements Config
{
Expand All @@ -16,7 +16,7 @@ class IlluminateConfig implements Config

/**
* The name of the package this driver is being used with.
*
*
* @var string
*/
protected $packageName;
Expand Down Expand Up @@ -75,7 +75,7 @@ public function set($name, $value)
* Return the path to an item so that it can be loaded via config.
* We need to append the package name to the item separated
* with '::' for L4 and '.' for L5.
*
*
* @param string $item
*
* @return string
Expand Down

0 comments on commit 0d8639e

Please sign in to comment.