↪ This was causing missing array index warnings when the casting took precedence
*/
private function processGetActions(): void
{
- $action = (string)$this->parameters['action'] ?? '';
- $uid = (int)$this->parameters['uid'] ?? 0;
+ $action = (string) ($this->parameters['action'] ?? '');
+ $uid = (int) ($this->parameters['uid'] ?? 0);
if ($uid === 0) {
return;
*/
private function processGetActions(): void
{
- $action = (string)$this->parameters['action'] ?? '';
- $uid = (int)$this->parameters['uid'] ?? 0;
+ $action = (string) ($this->parameters['action'] ?? '');
+ $uid = (int) ($this->parameters['uid'] ?? 0);
if ($uid === 0) {
return;
*/
private function processGetActions(): void
{
- $action = (string) $this->parameters['action'] ?? '';
- $uid = (int) $this->parameters['uid'] ?? 0;
+ $action = (string) ($this->parameters['action'] ?? '');
+ $uid = (int) ($this->parameters['uid'] ?? 0);
if ($uid === 0) {
return;