Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6 from artesaos/analysis-8KE99q
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
vinicius73 committed Jan 16, 2016
2 parents 702b8ad + 9e78627 commit 7ad7921
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/Fractal/FractalFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Artesaos\Warehouse\Fractal;

use ArrayAccess;
Expand Down Expand Up @@ -43,8 +42,8 @@ class FractalFactory implements FractalFactoryContract
/**
* FractalFactory constructor.
*
* @param Request $request
* @param Container $app
* @param Request $request
* @param Container $app
* @param ResponseFactory $response
*/
public function __construct(Request $request, Container $app, ResponseFactory $response)
Expand All @@ -65,7 +64,7 @@ protected function isPaged($collection)
}

/**
* @param ArrayAccess $collection
* @param ArrayAccess $collection
* @param TransformerAbstract $transform
*
* @return FractalCollection
Expand All @@ -76,7 +75,7 @@ protected function makeFractalCollection(ArrayAccess $collection, TransformerAbs
}

/**
* @param ArrayAccess $item
* @param ArrayAccess $item
* @param TransformerAbstract $transform
*
* @return FractalItem
Expand Down Expand Up @@ -106,8 +105,8 @@ protected function getFractalFactory()

/**
* @param ResourceAbstract $resource
* @param string $key
* @param string|null $value
* @param string $key
* @param string|null $value
*
* @return void
*/
Expand Down Expand Up @@ -209,8 +208,8 @@ public function makeEmptyResponse(array $metas = [])
}

/**
* @param ArrayAccess $item
* @param array $meta
* @param ArrayAccess $item
* @param array $meta
* @param TransformerAbstract $transformer
*
* @return \Illuminate\Http\JsonResponse
Expand All @@ -231,8 +230,8 @@ public function makeItemResponse(ArrayAccess $item, array $meta = [], Transforme
}

/**
* @param ArrayAccess $collection
* @param array $meta
* @param ArrayAccess $collection
* @param array $meta
* @param TransformerAbstract|null $transformer
*
* @return \Illuminate\Http\JsonResponse
Expand Down

0 comments on commit 7ad7921

Please sign in to comment.