Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/HEXONET/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ public function isPending(): bool
* Add a column to the column list
* @param string $key column name
* @param string[] $data array of column data
* @return $this
* @return \CNIC\ResponseInterface
*/
public function addColumn($key, $data): self
public function addColumn($key, $data): \CNIC\ResponseInterface
{
$col = new Column($key, $data);
$this->columns[] = $col;
Expand All @@ -225,9 +225,9 @@ public function addColumn($key, $data): self
/**
* Add a record to the record list
* @param array $h row hash data
* @return $this
* @return \CNIC\ResponseInterface
*/
public function addRecord($h): self
public function addRecord($h): \CNIC\ResponseInterface
{
$this->records[] = new Record($h);
return $this;
Expand Down Expand Up @@ -555,9 +555,9 @@ public function hasPreviousPage(): bool

/**
* Reset index in record list back to zero
* @return $this
* @return \CNIC\ResponseInterface
*/
public function rewindRecordList(): self
public function rewindRecordList(): \CNIC\ResponseInterface
{
$this->recordIndex = 0;
return $this;
Expand Down