Skip to content

Commit

Permalink
Merge pull request sonata-project#3543 from StudioMaX/patch-1
Browse files Browse the repository at this point in the history
PHPDoc fixes
  • Loading branch information
OskarStark committed Jan 20, 2016
2 parents f2d7c50 + 7a625e9 commit 0700930
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions Admin/AdminInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,15 @@ 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 +566,6 @@ public function getNewInstance();

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

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

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

Expand Down Expand Up @@ -652,58 +652,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 0700930

Please sign in to comment.