Skip to content

Commit

Permalink
[DOCS] Generate documentation
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
simonschaufi authored and github-actions[bot] committed Oct 25, 2024
1 parent 1b07af9 commit 7572fca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/all_rectors_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,7 @@ Use PSR-7 ServerRequest instead of `GeneralUtility::_GET()`
use TYPO3\CMS\Core\Utility\GeneralUtility;

-$value = GeneralUtility::_GET('tx_scheduler');
+$value = $GLOBALS['TYPO3_REQUEST']->getQueryParams()['tx_scheduler'];
+$value = $GLOBALS['TYPO3_REQUEST']->getQueryParams()['tx_scheduler'] ?? null;
```

<br>
Expand All @@ -2975,7 +2975,7 @@ Use PSR-7 ServerRequest instead of `GeneralUtility::_GET()`
public function myMethod()
{
- $value = GeneralUtility::_GET('tx_scheduler');
+ $value = $this->request->getQueryParams()['tx_scheduler'];
+ $value = $this->request->getQueryParams()['tx_scheduler'] ?? null;
}
}
```
Expand All @@ -2992,7 +2992,7 @@ Use PSR-7 ServerRequest instead of `GeneralUtility::_POST()`
use TYPO3\CMS\Core\Utility\GeneralUtility;

-$value = GeneralUtility::_POST('tx_scheduler');
+$value = $GLOBALS['TYPO3_REQUEST']->getParsedBody()['tx_scheduler'];
+$value = $GLOBALS['TYPO3_REQUEST']->getParsedBody()['tx_scheduler'] ?? null;
```

<br>
Expand All @@ -3006,7 +3006,7 @@ Use PSR-7 ServerRequest instead of `GeneralUtility::_POST()`
public function myMethod()
{
- $value = GeneralUtility::_POST('tx_scheduler');
+ $value = $this->request->getParsedBody()['tx_scheduler'];
+ $value = $this->request->getParsedBody()['tx_scheduler'] ?? null;
}
}
```
Expand Down

0 comments on commit 7572fca

Please sign in to comment.