for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TwoDojo\ModuleManager\Registries;
use TwoDojo\ModuleManager\Contracts\Repository;
abstract class BaseRegistry implements Repository
{
/**
* Find the module by unique name
*
* @param string $uniqueName
* @return mixed
*/
abstract public function findByUniqueName(string $uniqueName);
* @param $scope
* @param $arguments
* @return $this
protected function scope($scope, $arguments)
$scope
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
protected function scope(/** @scrutinizer ignore-unused */ $scope, $arguments)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return $this;
}
* Handle scope call
* @param $name
* @return BaseRegistry
public function __call($name, $arguments)
return $this->scope($name, $arguments);
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.