Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/5.3' into 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 15, 2016
2 parents 6545fdf + cae2043 commit ef11bd7
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Console/Scheduling/Schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Schedule
/**
* Add a new callback event to the schedule.
*
* @param string $callback
* @param string|callable $callback
* @param array $parameters
* @return \Illuminate\Console\Scheduling\Event
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ public function reconnect()
*/
protected function reconnectIfMissingConnection()
{
if (is_null($this->getPdo()) || is_null($this->getReadPdo())) {
if (is_null($this->pdo)) {
$this->reconnect();
}
}
Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/Database/Connectors/ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Illuminate\Database\Connectors;

use PDO;
use PDOException;
use Illuminate\Support\Arr;
use InvalidArgumentException;
Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Illuminate\Database\Eloquent;

use Closure;
use DateTime;
use Exception;
use ArrayAccess;
use Carbon\Carbon;
Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/Database/Eloquent/Relations/HasOne.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Illuminate\Database\Eloquent\Relations;

use Closure;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Collection;

Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/Mail/Jobs/HandleQueuedMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Closure;
use Illuminate\Support\Str;
use SuperClosure\Serializer;
use Illuminate\Contracts\Queue\Job;
use Illuminate\Contracts\Mail\Mailer;
use Illuminate\Queue\SerializesAndRestoresModelIdentifiers;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Illuminate\Notifications\Events;

use Illuminate\Queue\SerializesModels;
use Illuminate\Notifications\Notification;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;

Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/Queue/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Exception;
use Throwable;
use Illuminate\Contracts\Queue\Job;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Contracts\Debug\ExceptionHandler;
use Symfony\Component\Debug\Exception\FatalThrowableError;
Expand Down

0 comments on commit ef11bd7

Please sign in to comment.