Просмотр исходного кода

[ZF-11058] Documentation of return type "class instance"

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23728 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 15 лет назад
Родитель
Сommit
8ac4154ab4
1 измененных файлов с 7 добавлено и 2 удалено
  1. 7 2
      library/Zend/Http/UserAgent.php

+ 7 - 2
library/Zend/Http/UserAgent.php

@@ -529,7 +529,12 @@ class Zend_Http_UserAgent implements Serializable
     }
 
     /**
-     * @return the $device
+     * Returns the device object
+     *
+     * This is the object that will contain the various discovered device
+     * capabilities.
+     *
+     * @return Zend_Http_UserAgent_Device $device
      */
     public function getDevice()
     {
@@ -614,7 +619,7 @@ class Zend_Http_UserAgent implements Serializable
     }
 
     /**
-     * Retrieve the "$_SERVER" array
+     * Set the "$_SERVER" array
      *
      * Basically, the $_SERVER array or an equivalent container storing the
      * data that will be introspected.