Skip to content
Snippets Groups Projects
Commit cf20bdaa authored by Demian Katz's avatar Demian Katz
Browse files

Rename method for v3.

parent 5c38ae8b
No related merge requests found
......@@ -53,7 +53,7 @@ class PluginManager extends Base
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function validatePlugin($plugin)
public function validate($plugin)
{
// Assume everything is okay.
}
......
......@@ -72,7 +72,7 @@ abstract class AbstractPluginManager extends Base
* @throws ServiceManagerRuntimeException if invalid
* @return void
*/
public function validatePlugin($plugin)
public function validate($plugin)
{
$expectedInterface = $this->getExpectedInterface();
if (!($plugin instanceof $expectedInterface)) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment