Forráskód Böngészése

release version 2.0.10

Carsten Brandt 9 éve
szülő
commit
770120891c
4 módosított fájl, 4 hozzáadás és 4 törlés
  1. 1 1
      composer.json
  2. 1 1
      models/ContactForm.php
  3. 1 1
      models/LoginForm.php
  4. 1 1
      models/User.php

+ 1 - 1
composer.json

@@ -12,7 +12,7 @@
         "irc": "irc://irc.freenode.net/yii",
         "source": "https://github.com/yiisoft/yii2"
     },
-    "minimum-stability": "dev",
+    "minimum-stability": "stable",
     "require": {
         "php": ">=5.4.0",
         "yiisoft/yii2": "~2.0.5",

+ 1 - 1
models/ContactForm.php

@@ -45,7 +45,7 @@ class ContactForm extends Model
     /**
      * Sends an email to the specified email address using the information collected by this model.
      * @param string $email the target email address
-     * @return boolean whether the model passes validation
+     * @return bool whether the model passes validation
      */
     public function contact($email)
     {

+ 1 - 1
models/LoginForm.php

@@ -55,7 +55,7 @@ class LoginForm extends Model
 
     /**
      * Logs in a user using the provided username and password.
-     * @return boolean whether the user is logged in successfully
+     * @return bool whether the user is logged in successfully
      */
     public function login()
     {

+ 1 - 1
models/User.php

@@ -95,7 +95,7 @@ class User extends \yii\base\Object implements \yii\web\IdentityInterface
      * Validates password
      *
      * @param string $password password to validate
-     * @return boolean if password provided is valid for current user
+     * @return bool if password provided is valid for current user
      */
     public function validatePassword($password)
     {