Skip to content

Commit

Permalink
Drop redundant mapping array
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberiaResurrection committed Sep 24, 2017
1 parent f1c0c8e commit 2520321
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Models/MetadataTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,6 @@ trait MetadataTrait
protected static $methodAlternate = [];
protected $loadEagerRelations = [];

/*
* Array to record mapping between doctrine types and OData types
*/
protected $mapping = [
'integer' => EdmPrimitiveType::INT32,
'string' => EdmPrimitiveType::STRING,
'datetime' => EdmPrimitiveType::DATETIME,
'float' => EdmPrimitiveType::SINGLE,
'decimal' => EdmPrimitiveType::DECIMAL,
'text' => EdmPrimitiveType::STRING,
'boolean' => EdmPrimitiveType::BOOLEAN,
'blob' => 'stream'
];

/*
* Retrieve and assemble this model's metadata for OData packaging
*/
Expand Down

0 comments on commit 2520321

Please sign in to comment.