Skip to content
This repository was archived by the owner on Jun 11, 2020. It is now read-only.

Commit 22bbc95

Browse files
committed
format all codes
1 parent b725e2e commit 22bbc95

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/ObjectHelper.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static function init($object, array $options)
4545

4646
/**
4747
* 给对象设置属性值
48-
* @param $object
48+
* @param $object
4949
* @param array $options
5050
*/
5151
public static function configure($object, array $options)
@@ -59,7 +59,7 @@ public static function configure($object, array $options)
5959

6060
/**
6161
* 给对象设置属性值
62-
* @param $object
62+
* @param $object
6363
* @param array $options
6464
*/
6565
public static function setAttrs($object, array $options)
@@ -79,7 +79,7 @@ public static function encode($obj): string
7979

8080
/**
8181
* 反序列化
82-
* @param string $txt
82+
* @param string $txt
8383
* @param bool|array $allowedClasses
8484
* @return mixed
8585
*/
@@ -91,7 +91,7 @@ public static function decode(string $txt, $allowedClasses = false)
9191
/**
9292
* php对象转换成为数组
9393
* @param iterable|array|\Traversable $data
94-
* @param bool $recursive
94+
* @param bool $recursive
9595
* @return array|bool
9696
*/
9797
public static function toArray($data, bool $recursive = false)
@@ -122,7 +122,7 @@ public static function toArray($data, bool $recursive = false)
122122

123123
/**
124124
* @param mixed $object
125-
* @param bool $unique
125+
* @param bool $unique
126126
* @return string
127127
*/
128128
public static function hash($object, $unique = true): string
@@ -145,7 +145,7 @@ public static function hash($object, $unique = true): string
145145
* @from https://github.com/ventoviro/windwalker
146146
* Build an array of constructor parameters.
147147
* @param \ReflectionMethod $method Method for which to build the argument array.
148-
* @param array $extraArgs
148+
* @param array $extraArgs
149149
* @return array
150150
* @throws \RuntimeException
151151
*/

src/Traits/ObjectPoolTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static function put($object)
4747
}
4848

4949
/**
50-
* @param string $class
50+
* @param string $class
5151
* @param \Closure $handler
5252
* @return mixed
5353
*/

src/Traits/StdObjectTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function init()
7272

7373
/**
7474
* @param string $method
75-
* @param $args
75+
* @param $args
7676
* @throws \InvalidArgumentException
7777
* @return mixed
7878
*/
@@ -87,7 +87,7 @@ public function __call($method, array $args)
8787

8888
/**
8989
* @param string $method
90-
* @param $args
90+
* @param $args
9191
* @return mixed
9292
* @throws \InvalidArgumentException
9393
*/

0 commit comments

Comments
 (0)