phalcon - change phpdoc entries for \Phalcon\Validation\Exception

This commit is contained in:
Ad Schellevis
2024-05-02 16:41:27 +02:00
parent ece19f28c5
commit 0787bcd52e
3 changed files with 6 additions and 6 deletions
@@ -224,7 +224,7 @@ class SettingsController extends ApiMutableModelControllerBase
* @param string $uuid id to toggled
* @param string|null $enabled set enabled by default
* @return array status
* @throws \Phalcon\Validation\Exception when field validations fail
* @throws \OPNsense\Base\ValidationException when field validations fail
* @throws \ReflectionException when not bound to model
*/
public function toggleAction($nodeType, $uuid, $enabled = null)
@@ -74,7 +74,7 @@ class SettingsController extends ApiMutableModelControllerBase
* update remote blacklist item
* @param string $uuid
* @return array result status
* @throws \Phalcon\Filter\Validation\Exception
* @throws \OPNsense\Base\ValidationException
*/
public function setRemoteBlacklistAction($uuid)
{
@@ -182,7 +182,7 @@ class SettingsController extends ApiMutableModelControllerBase
* update PAC Rule
* @param string $uuid
* @return array result status
* @throws \Phalcon\Filter\Validation\Exception
* @throws \OPNsense\Base\ValidationException
*/
public function setPACRuleAction($uuid)
{
@@ -246,7 +246,7 @@ class SettingsController extends ApiMutableModelControllerBase
* update PAC Proxy
* @param string $uuid
* @return array result status
* @throws \Phalcon\Filter\Validation\Exception
* @throws \OPNsense\Base\ValidationException
*/
public function setPACProxyAction($uuid)
{
@@ -299,7 +299,7 @@ class SettingsController extends ApiMutableModelControllerBase
* update PAC Rule
* @param string $uuid
* @return array result status
* @throws \Phalcon\Filter\Validation\Exception
* @throws \OPNsense\Base\ValidationException
*/
public function setPACMatchAction($uuid)
{
@@ -43,7 +43,7 @@ class TemplateController extends ApiMutableModelControllerBase
/**
* save template
* @return array status
* @throws \Phalcon\Filter\Validation\Exception on validation issues
* @throws \OPNsense\Base\ValidationException on validation issues
* @throws \ReflectionException when binding to the model class fails
* @throws UserException when denied write access
*/