Add PHP_CodeSniffer, lint code
This commit is contained in:
parent
172131e1e6
commit
ddf235a61b
8 changed files with 188 additions and 68 deletions
|
@ -29,8 +29,12 @@ class SendDigest extends Command
|
|||
* @return int
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
if (!$this->option('daily') && !$this->option('weekly') && !$this->option('fortnightly') && !$this->option('monthly')) {
|
||||
{
|
||||
if (!$this->option('daily') &&
|
||||
!$this->option('weekly') &&
|
||||
!$this->option('fortnightly') &&
|
||||
!$this->option('monthly')
|
||||
) {
|
||||
$this->error('No schedule specified.');
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue