Fix codestyle

This commit is contained in:
Filip Benčo 2019-12-13 22:48:28 +01:00
parent 5d8765db04
commit 7fc2f99158
8 changed files with 9 additions and 15 deletions

View File

@ -54,5 +54,4 @@ class ArrayPropertyDescriber implements PropertyDescriberInterface, ModelRegistr
{ {
return $type->isCollection(); return $type->isCollection();
} }
} }

View File

@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
class BooleanPropertyDescriber implements PropertyDescriberInterface class BooleanPropertyDescriber implements PropertyDescriberInterface
{ {
public function describe(Type $type, Schema $property, array $groups) public function describe(Type $type, Schema $property, array $groups)
{ {
$property->setType('boolean'); $property->setType('boolean');

View File

@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
class DateTimePropertyDescriber implements PropertyDescriberInterface class DateTimePropertyDescriber implements PropertyDescriberInterface
{ {
public function describe(Type $type, Schema $property, array $groups) public function describe(Type $type, Schema $property, array $groups)
{ {
$property->setType('string'); $property->setType('string');

View File

@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
class FloatPropertyDescriber implements PropertyDescriberInterface class FloatPropertyDescriber implements PropertyDescriberInterface
{ {
public function describe(Type $type, Schema $property, array $groups) public function describe(Type $type, Schema $property, array $groups)
{ {
$property->setType('number'); $property->setType('number');

View File

@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
class IntegerPropertyDescriber implements PropertyDescriberInterface class IntegerPropertyDescriber implements PropertyDescriberInterface
{ {
public function describe(Type $type, Schema $property, array $groups) public function describe(Type $type, Schema $property, array $groups)
{ {
$property->setType('integer'); $property->setType('integer');

View File

@ -11,8 +11,8 @@
namespace Nelmio\ApiDocBundle\PropertyDescriber; namespace Nelmio\ApiDocBundle\PropertyDescriber;
use Symfony\Component\PropertyInfo\Type;
use EXSyst\Component\Swagger\Schema; use EXSyst\Component\Swagger\Schema;
use Symfony\Component\PropertyInfo\Type;
interface PropertyDescriberInterface interface PropertyDescriberInterface
{ {

View File

@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
class StringPropertyDescriber implements PropertyDescriberInterface class StringPropertyDescriber implements PropertyDescriberInterface
{ {
public function describe(Type $type, Schema $property, array $groups) public function describe(Type $type, Schema $property, array $groups)
{ {
$property->setType('string'); $property->setType('string');