mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* @copyright Copyright (C) 2010-2024 Combodo SARL
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
@@ -19,7 +20,8 @@ use utils;
|
||||
* @internal
|
||||
* @since 3.2.0 N°5472 creation
|
||||
*/
|
||||
class ActionController extends AbstractController {
|
||||
class ActionController extends AbstractController
|
||||
{
|
||||
public const ROUTE_NAMESPACE = 'notifications.action';
|
||||
|
||||
/**
|
||||
@@ -30,7 +32,7 @@ class ActionController extends AbstractController {
|
||||
public function OperationLastExecutionsTab()
|
||||
{
|
||||
$sActionId = utils::ReadParam('action_id', null, false);
|
||||
$sCannotLoadActionErrorMessage = __METHOD__ . ': invalid action_id parameter';
|
||||
$sCannotLoadActionErrorMessage = __METHOD__.': invalid action_id parameter';
|
||||
if (utils::IsNullOrEmptyString($sActionId)) {
|
||||
throw new CoreUnexpectedValue($sCannotLoadActionErrorMessage);
|
||||
}
|
||||
@@ -45,4 +47,4 @@ class ActionController extends AbstractController {
|
||||
|
||||
return $oPage;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user