Преглед на файлове

Merge pull request #3543 from StudioMaX/patch-1

PHPDoc fixes
Oskar Stark преди 9 години
родител
ревизия
070093066b
променени са 1 файла, в които са добавени 4 реда и са изтрити 20 реда
  1. 4 20
      Admin/AdminInterface.php

+ 4 - 20
Admin/AdminInterface.php

@@ -413,11 +413,15 @@ interface AdminInterface
 
     /**
      * @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);
 
@@ -562,8 +566,6 @@ interface AdminInterface
 
     /**
      * @param string $uniqId
-     *
-     * @return mixed
      */
     public function setUniqid($uniqId);
 
@@ -583,8 +585,6 @@ interface AdminInterface
 
     /**
      * @param object $subject
-     *
-     * @return mixed
      */
     public function setSubject($subject);
 
@@ -652,58 +652,42 @@ interface AdminInterface
 
     /**
      * @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);