Project

General

Profile

Actions

Bug #91126

closed

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

Added by Oliver Bartsch over 4 years ago. Updated over 4 years 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.

Actions

Also available in: Atom PDF