Skip to content

Commit

Permalink
提交
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjincheng committed May 30, 2019
1 parent 2058628 commit dd1d6aa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
6 changes: 0 additions & 6 deletions src/Validate/Annotation/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
namespace ESD\Plugins\Validate\Annotation;


use DI\DependencyException;
use Doctrine\Common\Annotations\Annotation;
use Doctrine\Common\Annotations\CachedReader;
use Inhere\Validate\Filter\Filtration;
Expand Down Expand Up @@ -156,8 +155,6 @@ public function build($name)
* @param ReflectionClass|string $reflectionClass
* @param $values
* @return array
* @throws DependencyException
* @throws \DI\NotFoundException
* @throws \ReflectionException
*/
public static function filter($reflectionClass, $values)
Expand All @@ -175,9 +172,6 @@ public static function filter($reflectionClass, $values)
/**
* @param ReflectionClass|string $reflectionClass
* @return array
* @throws DependencyException
* @throws \DI\NotFoundException
* @throws \DI\DependencyException
* @throws \ReflectionException
*/
public static function buildRole($reflectionClass)
Expand Down
3 changes: 0 additions & 3 deletions src/Validate/Annotation/Validated.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,7 @@ public function build($name)
* @param array $translates
* @param string $scene
* @return array|\stdClass
* @throws DependencyException
* @throws ValidationException
* @throws \DI\NotFoundException
* @throws \ReflectionException
*/
public static function valid($reflectionClass, $values, $roles = [], $messages = [], $translates = [], $scene = "")
{
Expand Down
4 changes: 1 addition & 3 deletions src/Validate/Annotation/ValidatedFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ class ValidatedFilter
* @param array $translates
* @param string $scene
* @return array|\stdClass
* @throws \DI\NotFoundException
* @throws \ReflectionException
* @throws \DI\DependencyException
* @throws ValidationException
* @throws \ReflectionException
*/
public static function valid($reflectionClass, $values, $roles = [], $messages = [], $translates = [], $scene = "")
{
Expand Down

0 comments on commit dd1d6aa

Please sign in to comment.