#91126[EA] The operation results to '(int)$page['doktype']', please add missing parentheses.
Description
Also the return statement could be simplified by using in_array instead of comparing each doktype.
And the `$page !== null` check is superflous as it is checked implicit by fetching the doktype.
Reviews 1
History 23
-
Gerrit Code Review pushed patch set 1 for master to change 64245 status
NewUnder Review 04/19/20, 13:39 -
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % 04/19/20, 20:30 -
Benni Mack changed status
ResolvedClosed 04/21/20, 10:43
Applied in changeset commit:a86c3e2a9f05fe8483214be100095c5ffc96d5a7.