Skip to content

Commit

Permalink
Re-ordered class attributes and some constructor assignments.
Browse files Browse the repository at this point in the history
  • Loading branch information
telkins committed Jan 2, 2021
1 parent 1fd2465 commit 119fce2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Tasks/AddDagEdge.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ class AddDagEdge

public function __construct(int $startVertex, int $endVertex, string $source, int $maxHops, string $tableName, ?string $connection = null)
{
$this->startVertex = $startVertex;
$this->endVertex = $endVertex;
$this->source = $source;
$this->startVertex = $startVertex;
$this->maxHops = $maxHops;
$this->connection = $connection;
$this->tableName = $tableName;
$this->connection = $connection;
}

/**
Expand Down
6 changes: 3 additions & 3 deletions src/Tasks/RemoveDagEdge.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@

class RemoveDagEdge
{
protected string $tableName;
protected ?string $connection;
protected int $endVertex;
protected string $source;
protected int $startVertex;
protected string $tableName;

public function __construct(int $startVertex, int $endVertex, string $source, string $tableName, ?string $connection = null)
{
$this->startVertex = $startVertex;
$this->endVertex = $endVertex;
$this->source = $source;
$this->startVertex = $startVertex;
$this->connection = $connection;
$this->tableName = $tableName;
$this->connection = $connection;
}

/**
Expand Down

0 comments on commit 119fce2

Please sign in to comment.