Bug #91126

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

Added by Oliver Bartsch 9 months ago. Updated 9 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.

#1

Updated by Gerrit Code Review 9 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64245

#2

Updated by Oliver Bartsch 9 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#3

Updated by Benni Mack 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF