mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
phalcon - change phpdoc entries for \Phalcon\Validation\Exception
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
+4
-4
@@ -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)
|
||||
{
|
||||
|
||||
+1
-1
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user