for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SilverStripe\Translatable\Tests\Stub;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataExtension;
class EveryoneCanPublish extends DataExtension implements TestOnly
{
public function canPublish($member = null)
$member
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return true;
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.