Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.

Commit

Permalink
Add typehint.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jul 12, 2015
1 parent baae17b commit 43414c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ResourcesServiceProvider.php
@@ -1,6 +1,7 @@
<?php namespace Orchestra\Resources;

use Illuminate\Support\ServiceProvider;
use Illuminate\Contracts\Foundation\Application;

class ResourcesServiceProvider extends ServiceProvider
{
Expand All @@ -18,7 +19,7 @@ class ResourcesServiceProvider extends ServiceProvider
*/
public function register()
{
$this->app->singleton('orchestra.resources', function ($app) {
$this->app->singleton('orchestra.resources', function (Application $app) {
$dispatcher = new Dispatcher($app, $app->make('router'), $app->make('request'));

return new Factory($dispatcher, new Response());
Expand Down

0 comments on commit 43414c8

Please sign in to comment.