Commit 7bfce8c2 authored by Fabio Stegmeyer's avatar Fabio Stegmeyer

[BUGFIX] make return type of function nullable

parent 4558a25e
......@@ -269,11 +269,11 @@ class TceMainHook {
* @param array $data
* @param integer $res (but only 0 and 1 is relevant so it's boolean technically)
* @param $tcemain
* @return integer
* @return integer|NULL
* @throws Exception
* @internal param object $this
public function checkRecordUpdateAccess($table, $id, $data, $res, $tcemain): int {
public function checkRecordUpdateAccess($table, $id, $data, $res, $tcemain): ?int {
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($table);
$row = $queryBuilder->select('*')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment