mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Code cleanup.
This commit is contained in:
		| @@ -31,17 +31,10 @@ use Illuminate\Support\Collection; | ||||
|  */ | ||||
| class CurrencyTransformer extends AbstractTransformer | ||||
| { | ||||
|     /** | ||||
|      * @inheritDoc | ||||
|      */ | ||||
|     public function collectMetaData(Collection $objects): void {} | ||||
| 
 | ||||
|     /** | ||||
|      * Transform the currency. | ||||
|      * | ||||
|      * @param TransactionCurrency $currency | ||||
|      * | ||||
|      * @return array | ||||
|      */ | ||||
|     public function transform(TransactionCurrency $currency): array | ||||
|     { | ||||
| @@ -58,7 +51,7 @@ class CurrencyTransformer extends AbstractTransformer | ||||
|             'links'          => [ | ||||
|                 [ | ||||
|                     'rel' => 'self', | ||||
|                     'uri' => '/currencies/' . $currency->id, | ||||
|                     'uri' => '/currencies/'.$currency->id, | ||||
|                 ], | ||||
|             ], | ||||
|         ]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user