Merge pull request #1591 from nelmio/analysis-e7YKjA

Apply fixes from StyleCI
This commit is contained in:
Guilhem Niot 2020-02-23 17:51:12 +01:00 committed by GitHub
commit 0fcf2d5c9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -124,7 +124,7 @@ class BazingaHateoasModelDescriber implements ModelDescriberInterface, ModelRegi
foreach ($relation->getAttributes() as $attribute => $value) {
$subSubProp = $subProperties->get($attribute);
switch (gettype($value)) {
case 'integer' :
case 'integer':
$subSubProp->setType('integer');
$subSubProp->setDefault($value);

View File

@ -183,7 +183,6 @@ class JMSModelDescriber implements ModelDescriberInterface, ModelRegistryAwareIn
/**
* @internal
* @return void
*/
public function describeItem(array $type, $property, Context $context)
{