Commit 349f2c9e by Alexander Makarov

phpdoc fixes, unused variable

parent c3829a4f
......@@ -27,7 +27,7 @@ class MailEvent extends Event
*/
public $isSuccessful;
/**
* @var boolean whether to continue send. Event handlers of
* @var boolean whether to continue sending an email. Event handlers of
* [[\yii\mail\BaseMailer::EVENT_BEFORE_SEND]] may set this property to decide whether
* to continue send or not.
*/
......
......@@ -290,15 +290,13 @@ class FixtureController extends Controller
}
/**
* Returns array of found fixtures. These may differer from input parameter as not all fixtures may exists.
* @param array $fixtures
* @return array Array of found fixtures. These may differer from input parameter as not all fixtures may exists.
*/
private function findFixtures(array $fixtures)
{
$fixturesPath = Yii::getAlias($this->fixturePath);
$files = [];
if ($this->needToApplyAll($fixtures[0])) {
$files = FileHelper::findFiles($fixturesPath, ['only' => ['.php']]);
} else {
......
......@@ -36,8 +36,10 @@ trait ActiveQueryTrait
* PHP magic method.
* This method allows calling static method defined in [[modelClass]] via this query object.
* It is mainly implemented for supporting the feature of scope.
*
* @param string $name the method name to be called
* @param array $params the parameters passed to the method
* @throws \yii\base\InvalidCallException
* @return mixed the method return result
*/
public function __call($name, $params)
......
......@@ -180,7 +180,9 @@ class MessageFormatter extends Component
* Replace named placeholders with numeric placeholders and quote unused.
*
* @param string $pattern The pattern string to replace things into.
* @param array $args The array of values to insert into the format string.
* @param array $givenParams The array of values to insert into the format string.
* @param array $resultingParams Modified array of parameters.
* @param array $map
* @return string The pattern string with placeholders replaced.
*/
private function replaceNamedArguments($pattern, $givenParams, &$resultingParams, &$map = [])
......
......@@ -320,6 +320,7 @@ abstract class BaseMailer extends Component implements MailerInterface, ViewCont
* You may override this method to do last-minute preparation for the message.
* If you override this method, please make sure you call the parent implementation first.
* @param MessageInterface $message
* @return boolean whether to continue sending an email.
*/
public function beforeSend($message)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment