This commit is contained in:
Guilhem Niot 2017-05-31 18:35:02 +02:00
parent 93cddd98a4
commit 87a42ab52d
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class ObjectModelDescriber implements ModelDescriberInterface, ModelRegistryAwar
if (null === $propertyInfoProperties) {
return;
}
foreach ($propertyInfoProperties as $propertyName) {
$types = $this->propertyInfo->getTypes($class, $propertyName);
if (0 === count($types)) {

View File

@ -12,8 +12,8 @@
namespace Nelmio\ApiDocBundle\Tests\Functional;
use EXSyst\Component\Swagger\Operation;
use EXSyst\Component\Swagger\Tag;
use EXSyst\Component\Swagger\Schema;
use EXSyst\Component\Swagger\Tag;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class FunctionalTest extends WebTestCase