Bug #91126

[EA] The operation results to '(int)$page['doktype']', please add missing parentheses.

Added by Oliver Bartsch 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Should have
Category:
Code Cleanup
Target version:
Start date:
2020-04-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Also available in: Atom PDF