Completed
Pull Request — master (#6577)
by Robbie
12:12 queued 03:08
created
src/Core/Core.php 1 patch
Doc Comments   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@  discard block
 block discarded – undo
136 136
     return Injector::inst()->get($className);
137 137
 }
138 138
 
139
+/**
140
+ * @return string
141
+ */
139 142
 function project()
140 143
 {
141 144
     global $project;
@@ -152,12 +155,6 @@  discard block
 block discarded – undo
152 155
      * @param string $entity Entity that identifies the string. It must be in the form
153 156
      * "Namespace.Entity" where Namespace will be usually the class name where this
154 157
      * string is used and Entity identifies the string inside the namespace.
155
-     * @param mixed $arg,... Additional arguments are parsed as such:
156
-     *  - Next string argument is a default. Pass in a `|` pipe-delimeted value with `{count}`
157
-     *    to do pluralisation.
158
-     *  - Any other string argument after default is context for i18nTextCollector
159
-     *  - Any array argument in any order is an injection parameter list. Pass in a `count`
160
-     *    injection parameter to pluralise.
161 158
      * @return string
162 159
      */
163 160
 function _t($entity, $arg = null)
@@ -171,7 +168,7 @@  discard block
 block discarded – undo
171 168
  * Only increases up to the maximum defined in {@link set_increase_memory_limit_max()},
172 169
  * and defaults to the 'memory_limit' setting in the PHP configuration.
173 170
  *
174
- * @param string|int $memoryLimit A memory limit string, such as "64M".  If omitted, unlimited memory will be set.
171
+ * @param integer $memoryLimit A memory limit string, such as "64M".  If omitted, unlimited memory will be set.
175 172
  * @return Boolean TRUE indicates a successful change, FALSE a denied change.
176 173
  */
177 174
 function increase_memory_limit_to($memoryLimit = -1)
Please login to merge, or discard this patch.
src/i18n/i18n.php 1 patch
Doc Comments   +1 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2000,12 +2000,6 @@  discard block
 block discarded – undo
2000 2000
      * @param string $entity Entity that identifies the string. It must be in the form
2001 2001
      * "Namespace.Entity" where Namespace will be usually the class name where this
2002 2002
      * string is used and Entity identifies the string inside the namespace.
2003
-     * @param mixed $arg,... Additional arguments are parsed as such:
2004
-     *  - Next string argument is a default. Pass in a `|` pipe-delimited value with `{count}`
2005
-     *    to do pluralisation.
2006
-     *  - Any other string argument after default is context for i18nTextCollector
2007
-     *  - Any array argument in any order is an injection parameter list. Pass in a `count`
2008
-     *    injection parameter to pluralise.
2009 2003
      * @return string
2010 2004
      */
2011 2005
     public static function _t($entity, $arg = null)
@@ -2209,7 +2203,7 @@  discard block
 block discarded – undo
2209 2203
      *
2210 2204
      * @see get_locale_name()
2211 2205
      *
2212
-     * @param mixed $code Language code
2206
+     * @param string $code Language code
2213 2207
      * @param boolean $native If true, the native name will be returned
2214 2208
      * @return string Name of the language
2215 2209
      */
Please login to merge, or discard this patch.