mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-10 03:29:25 +03:00
Merge pull request #1591 from nelmio/analysis-e7YKjA
Apply fixes from StyleCI
This commit is contained in:
commit
0fcf2d5c9a
@ -124,7 +124,7 @@ class BazingaHateoasModelDescriber implements ModelDescriberInterface, ModelRegi
|
|||||||
foreach ($relation->getAttributes() as $attribute => $value) {
|
foreach ($relation->getAttributes() as $attribute => $value) {
|
||||||
$subSubProp = $subProperties->get($attribute);
|
$subSubProp = $subProperties->get($attribute);
|
||||||
switch (gettype($value)) {
|
switch (gettype($value)) {
|
||||||
case 'integer' :
|
case 'integer':
|
||||||
$subSubProp->setType('integer');
|
$subSubProp->setType('integer');
|
||||||
$subSubProp->setDefault($value);
|
$subSubProp->setDefault($value);
|
||||||
|
|
||||||
|
@ -183,7 +183,6 @@ class JMSModelDescriber implements ModelDescriberInterface, ModelRegistryAwareIn
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function describeItem(array $type, $property, Context $context)
|
public function describeItem(array $type, $property, Context $context)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user