for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Firesphere\StripeSlack\Extension;
use Firesphere\StripeSlack\Form\SlackSignupForm;
use SilverStripe\CMS\Controllers\ContentController;
use SilverStripe\Core\Extension;
/**
* Class SlackControllerExtension
*
* @property ContentController $owner
*/
class ControllerExtension extends Extension
{
private static $allowed_actions = [
$allowed_actions
This check marks private properties in classes that are never used. Those properties can be removed.
'SlackForm'
];
public function SlackForm()
return SlackSignupForm::create($this->owner, __FUNCTION__);
}
This check marks private properties in classes that are never used. Those properties can be removed.