Apply fixes from StyleCI (#13224)

This commit is contained in:
Jellyfrog
2021-09-10 20:09:53 +02:00
committed by GitHub
parent ad52701603
commit 258505ed44
1036 changed files with 1269 additions and 19 deletions

View File

@@ -18,6 +18,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* @link https://www.librenms.org
*
* @copyright 2018 Tony Murray
* @author Tony Murray <murraytony@gmail.com>
*/
@@ -41,6 +42,7 @@ class QueryBuilderFilter implements \JsonSerializable
/**
* QueryBuilderFilter constructor.
*
* @param string $type alert|group
*/
public function __construct($type = 'alert')
@@ -160,9 +162,12 @@ class QueryBuilderFilter implements \JsonSerializable
/**
* Specify data which should be serialized to JSON
*
* @link https://php.net/manual/en/jsonserializable.jsonserialize.php
*
* @return mixed data which can be serialized by <b>json_encode</b>,
* which is a value of any type other than a resource.
*
* @since 5.4.0
*/
public function jsonSerialize()

View File

@@ -18,6 +18,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* @link https://www.librenms.org
*
* @copyright 2019 Tony Murray
* @author Tony Murray <murraytony@gmail.com>
*/

View File

@@ -18,6 +18,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* @link https://www.librenms.org
*
* @copyright 2018 Tony Murray
* @author Tony Murray <murraytony@gmail.com>
*/
@@ -458,9 +459,12 @@ class QueryBuilderParser implements \JsonSerializable
/**
* Specify data which should be serialized to JSON
*
* @link https://php.net/manual/en/jsonserializable.jsonserialize.php
*
* @return mixed data which can be serialized by <b>json_encode</b>,
* which is a value of any type other than a resource.
*
* @since 5.4.0
*/
public function jsonSerialize()