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!
Nicely-written library! Very clean code.
Can I make one small suggestion? It might be a hard habit to break, but
ifis a statement, not a function, so to be compliant with PSR guidelines, there should be a space after theifstatement, before the opening parentheses...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!