Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf00aff

Browse files
committed
Merge branch '4.0'
2 parents 2d1fd89 + 6cb9a0e commit bf00aff

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/Illuminate/Auth/Guard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public function logout()
390390

391391
if (isset($this->events))
392392
{
393-
$this->events->fire('auth.logout', array($this->user));
393+
$this->events->fire('auth.logout', array($this->user()));
394394
}
395395

396396
$this->user = null;

src/Illuminate/Foundation/changes.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
{"message": "Query elapsed time is now reported as float instead of string.", "backport": null},
1111
{"message": "Added Model::query method for generating an empty query builder.", "backport": null},
1212
{"message": "The @yield Blade directive now accepts a default value as the second argument.", "backport": null}
13+
{"message": "Fixed bug causing null to be passed to auth.logout event.", "backport": null}
1314
]
1415
}

src/Illuminate/Support/ServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ protected function getPackageNamespace($package, $namespace)
160160
/**
161161
* Register the package's custom Artisan commands.
162162
*
163-
* @param dynamic string
163+
* @param array $commands
164164
* @return void
165165
*/
166-
public function commands()
166+
public function commands($commands)
167167
{
168-
$commands = func_get_args();
168+
$commands = is_array($commands) ? $commands : func_get_args();
169169

170170
// To register the commands with Artisan, we will grab each of the arguments
171171
// passed into the method and listen for Artisan "start" event which will
@@ -210,4 +210,4 @@ public function isDeferred()
210210
return $this->defer;
211211
}
212212

213-
}
213+
}

src/Illuminate/Workbench/stubs/.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ language: php
33
php:
44
- 5.3
55
- 5.4
6+
- 5.5
67

78
before_script:
89
- curl -s http://getcomposer.org/installer | php

0 commit comments

Comments
 (0)