Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jun 8, 2017
1 parent 489593c commit e18010d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions Database/ModelIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ class ModelIdentifier
*/
public $class;

/**
* The connection name of the model.
*
* @var string|null
*/
public $connection;

/**
* The unique identifier of the model.
*
Expand All @@ -27,18 +20,25 @@ class ModelIdentifier
*/
public $id;

/**
* The connection name of the model.
*
* @var string|null
*/
public $connection;

/**
* Create a new model identifier.
*
* @param string $class
* @param mixed $connection
* @param mixed $id
* @param mixed $connection
* @return void
*/
public function __construct($class, $connection, $id)
public function __construct($class, $id, $connection)
{
$this->id = $id;
$this->connection = $connection;
$this->class = $class;
$this->connection = $connection;
}
}
12 changes: 6 additions & 6 deletions Queue/QueueableCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ interface QueueableCollection
public function getQueueableClass();

/**
* Get the connection of the entities being queued.
* Get the identifiers for all of the entities.
*
* @return string|null
* @return array
*/
public function getQueueableConnection();
public function getQueueableIds();

/**
* Get the identifiers for all of the entities.
* Get the connection of the entities being queued.
*
* @return array
* @return string|null
*/
public function getQueueableIds();
public function getQueueableConnection();
}

0 comments on commit e18010d

Please sign in to comment.