Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
349f2c9e
Commit
349f2c9e
authored
Jan 12, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
phpdoc fixes, unused variable
parent
c3829a4f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
MailEvent.php
framework/base/MailEvent.php
+1
-1
FixtureController.php
framework/console/controllers/FixtureController.php
+1
-3
ActiveQueryTrait.php
framework/db/ActiveQueryTrait.php
+2
-0
MessageFormatter.php
framework/i18n/MessageFormatter.php
+3
-1
BaseMailer.php
framework/mail/BaseMailer.php
+1
-0
No files found.
framework/base/MailEvent.php
View file @
349f2c9e
...
...
@@ -27,7 +27,7 @@ class MailEvent extends Event
*/
public
$isSuccessful
;
/**
* @var boolean whether to continue send. Event handlers of
* @var boolean whether to continue send
ing an email
. Event handlers of
* [[\yii\mail\BaseMailer::EVENT_BEFORE_SEND]] may set this property to decide whether
* to continue send or not.
*/
...
...
framework/console/controllers/FixtureController.php
View file @
349f2c9e
...
...
@@ -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
{
...
...
framework/db/ActiveQueryTrait.php
View file @
349f2c9e
...
...
@@ -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
)
...
...
framework/i18n/MessageFormatter.php
View file @
349f2c9e
...
...
@@ -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
=
[])
...
...
framework/mail/BaseMailer.php
View file @
349f2c9e
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment