Skip to content

Commit

Permalink
Fix issues reported by PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpustulka committed Feb 15, 2018
1 parent 44e8676 commit 8b33c9f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/Core/PluginApp.php
Expand Up @@ -13,6 +13,7 @@
*/
namespace Cake\Core;

use InvalidArgumentException;
use ReflectionClass;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Core/PluginApplicationInterface.php
Expand Up @@ -46,8 +46,8 @@ public function pluginRoutes($routes);
/**
* Run middleware hooks for plugins
*
* @param \Cake\Http\MiddlewareStack $middleware The MiddlewareStack to use.
* @return \Cake\Http\MiddlewareStack
* @param \Cake\Http\MiddlewareQueue $middleware The MiddlewareQueue to use.
* @return \Cake\Http\MiddlewareQueue
*/
public function pluginMiddleware($middleware);

Expand Down
8 changes: 4 additions & 4 deletions src/Core/PluginInterface.php
Expand Up @@ -25,28 +25,28 @@ interface PluginInterface
/**
* Get the name of this plugin.
*
* @return void
* @return string
*/
public function getName();

/**
* Get the filesystem path to this plugin
*
* @return void
* @return string
*/
public function getPath();

/**
* Get the filesystem path to configuration for this plugin
*
* @return void
* @return string
*/
public function getConfigPath();

/**
* Get the filesystem path to configuration for this plugin
*
* @return void
* @return string
*/
public function getClassPath();

Expand Down

0 comments on commit 8b33c9f

Please sign in to comment.