mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Coding standards
This commit is contained in:
@@ -51,7 +51,7 @@ class PathFileTest implements ControllerProviderInterface
|
||||
, 'json'
|
||||
)
|
||||
, 200
|
||||
, array('application/json')
|
||||
, array('content-type' => 'application/json')
|
||||
);
|
||||
});
|
||||
|
||||
@@ -59,6 +59,8 @@ class PathFileTest implements ControllerProviderInterface
|
||||
{
|
||||
$url = $app['request']->get('url');
|
||||
|
||||
$Serializer = $app['Core']['Serializer'];
|
||||
|
||||
return new Response(
|
||||
$Serializer->serialize(
|
||||
array(
|
||||
@@ -67,7 +69,7 @@ class PathFileTest implements ControllerProviderInterface
|
||||
, 'json'
|
||||
)
|
||||
, 200
|
||||
, array('application/json')
|
||||
, array('content-type' => 'application/json')
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user