mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-13 04:59:24 +03:00
Fix codestyle
This commit is contained in:
parent
5d8765db04
commit
7fc2f99158
@ -54,5 +54,4 @@ class ArrayPropertyDescriber implements PropertyDescriberInterface, ModelRegistr
|
||||
{
|
||||
return $type->isCollection();
|
||||
}
|
||||
|
||||
}
|
@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
|
||||
|
||||
class BooleanPropertyDescriber implements PropertyDescriberInterface
|
||||
{
|
||||
|
||||
public function describe(Type $type, Schema $property, array $groups)
|
||||
{
|
||||
$property->setType('boolean');
|
||||
|
@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
|
||||
|
||||
class DateTimePropertyDescriber implements PropertyDescriberInterface
|
||||
{
|
||||
|
||||
public function describe(Type $type, Schema $property, array $groups)
|
||||
{
|
||||
$property->setType('string');
|
||||
|
@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
|
||||
|
||||
class FloatPropertyDescriber implements PropertyDescriberInterface
|
||||
{
|
||||
|
||||
public function describe(Type $type, Schema $property, array $groups)
|
||||
{
|
||||
$property->setType('number');
|
||||
|
@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
|
||||
|
||||
class IntegerPropertyDescriber implements PropertyDescriberInterface
|
||||
{
|
||||
|
||||
public function describe(Type $type, Schema $property, array $groups)
|
||||
{
|
||||
$property->setType('integer');
|
||||
|
@ -11,8 +11,8 @@
|
||||
|
||||
namespace Nelmio\ApiDocBundle\PropertyDescriber;
|
||||
|
||||
use Symfony\Component\PropertyInfo\Type;
|
||||
use EXSyst\Component\Swagger\Schema;
|
||||
use Symfony\Component\PropertyInfo\Type;
|
||||
|
||||
interface PropertyDescriberInterface
|
||||
{
|
||||
|
@ -16,7 +16,6 @@ use Symfony\Component\PropertyInfo\Type;
|
||||
|
||||
class StringPropertyDescriber implements PropertyDescriberInterface
|
||||
{
|
||||
|
||||
public function describe(Type $type, Schema $property, array $groups)
|
||||
{
|
||||
$property->setType('string');
|
||||
|
Loading…
x
Reference in New Issue
Block a user