Skip to content

if statements #1

Description

@TheDigitalOrchard

Nicely-written library! Very clean code.

Can I make one small suggestion? It might be a hard habit to break, but if is a statement, not a function, so to be compliant with PSR guidelines, there should be a space after the if statement, before the opening parentheses...

if (isset($this->config['queueable'])) {
    $this->queueable = !empty($this->config['queueable']);
}

Same goes for other statements, such as for, foreach, while, switch, match, etc. That one small space makes the code feel less cramped, easier to read.

Keep up the great contributions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions