for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nwidart\Modules\Publishing;
class MigrationPublisher extends AssetPublisher
{
/**
* Get destination path.
*
* @return string
*/
public function getDestinationPath()
return $this->repository->config('paths.migration');
}
* Get source path.
public function getSourcePath()
return $this->getModule()->getExtraPath($this->repository->config('paths.generator.migration'));
getExtraPath
$this->getModule()
string
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.