Skip to content

Commit

Permalink
PHPDoc fixes
Browse files Browse the repository at this point in the history
Added new and removed some unused @return's in AdminInterface.
  • Loading branch information
StudioMaX committed Jan 20, 2016
1 parent f2d7c50 commit 4d716ec
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions Admin/AdminInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,16 @@ public function isGranted($name, $object = null);

/**
* @param mixed $entity
*
* @return string a string representation of the id that is save to use in an url
*/
public function getUrlsafeIdentifier($entity);

/**
* @param mixed $entity
*
* @return string a string representation of the identifiers for this
* instance
*/
public function getNormalizedIdentifier($entity);

Expand Down Expand Up @@ -562,8 +567,6 @@ public function getNewInstance();

/**
* @param string $uniqId
*
* @return mixed
*/
public function setUniqid($uniqId);

Expand All @@ -583,8 +586,6 @@ public function getObject($id);

/**
* @param object $subject
*
* @return mixed
*/
public function setSubject($subject);

Expand Down Expand Up @@ -652,58 +653,42 @@ public function create($object);

/**
* @param mixed $object
*
* @return mixed
*/
public function delete($object);

//TODO: uncomment this method for 3.0
// /**
// * @param mixed $object
// *
// * @return mixed
// */
// public function preValidate($object);

/**
* @param mixed $object
*
* @return mixed
*/
public function preUpdate($object);

/**
* @param mixed $object
*
* @return mixed
*/
public function postUpdate($object);

/**
* @param mixed $object
*
* @return mixed
*/
public function prePersist($object);

/**
* @param mixed $object
*
* @return mixed
*/
public function postPersist($object);

/**
* @param mixed $object
*
* @return mixed
*/
public function preRemove($object);

/**
* @param mixed $object
*
* @return mixed
*/
public function postRemove($object);

Expand Down

0 comments on commit 4d716ec

Please sign in to comment.