Skip to content

Commit

Permalink
type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Nov 2, 2014
1 parent 7df0e5b commit 5d2495a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/TypiCMS/Modules/Pages/Events/ResetChildren.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
namespace TypiCMS\Modules\Pages\Events;

use Config;
use Illuminate\Events\Dispatcher;
use TypiCMS\Modules\Pages\Models\Page;

class ResetChildren {
Expand Down Expand Up @@ -34,7 +35,7 @@ public function resetChildrenUri(Page $page)
* @param Dispatcher $events
* @return array
*/
public function subscribe($events)
public function subscribe(Dispatcher $events)
{
$events->listen('page.resetChildrenUri', 'TypiCMS\Modules\Pages\Events\ResetChildren@resetChildrenUri');
}
Expand Down

0 comments on commit 5d2495a

Please sign in to comment.