Skip to content

Commit

Permalink
Merge pull request Sylius#6934 from GSadee/interfaces-clean-up
Browse files Browse the repository at this point in the history
Models clean up
  • Loading branch information
pjedrzejewski committed Nov 29, 2016
2 parents 8bd4b5a + 00736e3 commit d4a3c29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
14 changes: 7 additions & 7 deletions Model/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function __construct()
}

/**
* {@inheritdoc}
* @return string
*/
public function __toString()
{
Expand Down Expand Up @@ -161,19 +161,19 @@ public function getValues()
}

/**
* @param string $storageType
* {@inheritdoc}
*/
public function setStorageType($storageType)
public function getStorageType()
{
$this->storageType = $storageType;
return $this->storageType;
}

/**
* @return string
* {@inheritdoc}
*/
public function getStorageType()
public function setStorageType($storageType)
{
return $this->storageType;
$this->storageType = $storageType;
}

/**
Expand Down
4 changes: 0 additions & 4 deletions Model/AttributeValueInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,11 @@ public function getValue();
public function setValue($value);

/**
* Proxy method to access the code from real attribute.
*
* @return string
*/
public function getCode();

/**
* Proxy method to access the name from real attribute.
*
* @return string
*/
public function getName();
Expand Down

0 comments on commit d4a3c29

Please sign in to comment.