Skip to content

Commit

Permalink
Fixes styling according to latest PHP CS Fixer rules
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotjreed committed Apr 4, 2024
1 parent b0bb389 commit 035f4fb
Show file tree
Hide file tree
Showing 13 changed files with 75 additions and 75 deletions.
12 changes: 6 additions & 6 deletions src/ElliotJReed/RoyalMail/Tracking/Entity/Event/Links.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ final class Links
private ?Link $redelivery = null;

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Link|null summary link information
* @return Link|null summary link information
*/
public function getSummary(): ?Link
{
return $this->summary;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Link|null $summary summary link information
* @param Link|null $summary summary link information
*/
public function setSummary(?Link $summary): self
{
Expand All @@ -31,15 +31,15 @@ public function setSummary(?Link $summary): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Link|null signature link information
* @return Link|null signature link information
*/
public function getSignature(): ?Link
{
return $this->signature;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Link|null $signature signature link information
* @param Link|null $signature signature link information
*/
public function setSignature(?Link $signature): self
{
Expand All @@ -49,15 +49,15 @@ public function setSignature(?Link $signature): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Link|null redelivery link information
* @return Link|null redelivery link information
*/
public function getRedelivery(): ?Link
{
return $this->redelivery;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Link|null $redelivery redelivery link information
* @param Link|null $redelivery redelivery link information
*/
public function setRedelivery(?Link $redelivery): self
{
Expand Down
28 changes: 14 additions & 14 deletions src/ElliotJReed/RoyalMail/Tracking/Entity/Event/MailPieces.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ public function setCarrierFullName(string $carrierFullName): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Summary\Summary|null object containing mail piece summary data
* @return Summary|null object containing mail piece summary data
*/
public function getSummary(): ?Summary
{
return $this->summary;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Summary\Summary|null $summary object containing mail piece summary
* data
* @param Summary|null $summary object containing mail piece summary
* data
*/
public function setSummary(?Summary $summary): self
{
Expand All @@ -91,16 +91,16 @@ public function setSummary(?Summary $summary): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Event\Signature|null object containing signature metadata data
* @return Signature|null object containing signature metadata data
*/
public function getSignature(): ?Signature
{
return $this->signature;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Event\Signature|null $signature object containing signature
* metadata
* @param Signature|null $signature object containing signature
* metadata
*/
public function setSignature(?Signature $signature): self
{
Expand All @@ -110,18 +110,18 @@ public function setSignature(?Signature $signature): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Event\EstimatedDelivery|null object containing the estimated
* delivery data
* @return EstimatedDelivery|null object containing the estimated
* delivery data
*/
public function getEstimatedDelivery(): ?EstimatedDelivery
{
return $this->estimatedDelivery;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Event\EstimatedDelivery|null $estimatedDelivery Object containing
* the estimated
* delivery data
* @param EstimatedDelivery|null $estimatedDelivery Object containing
* the estimated
* delivery data
*/
public function setEstimatedDelivery(?EstimatedDelivery $estimatedDelivery): self
{
Expand All @@ -139,7 +139,7 @@ public function getEvents(): array
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Event\Event $event mail piece event information
* @param Event $event mail piece event information
*/
public function addEvent(Event $event): self
{
Expand All @@ -149,15 +149,15 @@ public function addEvent(Event $event): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Event\Links|null object containing API links
* @return Links|null object containing API links
*/
public function getLinks(): ?Links
{
return $this->links;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Event\Links|null $links object containing API links
* @param Links|null $links object containing API links
*/
public function setLinks(?Links $links): self
{
Expand Down
18 changes: 9 additions & 9 deletions src/ElliotJReed/RoyalMail/Tracking/Entity/Event/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ final class Response extends \ElliotJReed\RoyalMail\Tracking\Entity\Response
private ?MailPieces $mailPieces = null;

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Event\MailPieces|null Object containing tracking information for
* the requested mail item. This will only be
* provided in the event that no error
* information is returned.
* @return MailPieces|null Object containing tracking information for
* the requested mail item. This will only be
* provided in the event that no error
* information is returned.
*/
public function getMailPieces(): ?MailPieces
{
return $this->mailPieces;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Event\MailPieces|null $mailPieces Object containing tracking
* information for the requested
* mail item. This will only be
* provided in the event that no
* error information is returned.
* @param MailPieces|null $mailPieces Object containing tracking
* information for the requested
* mail item. This will only be
* provided in the event that no
* error information is returned.
*/
public function setMailPieces(?MailPieces $mailPieces): self
{
Expand Down
8 changes: 4 additions & 4 deletions src/ElliotJReed/RoyalMail/Tracking/Entity/Signature/Links.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ final class Links
private ?Link $events = null;

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Link|null summary link information
* @return Link|null summary link information
*/
public function getSummary(): ?Link
{
return $this->summary;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Link|null $summary summary link information
* @param Link|null $summary summary link information
*/
public function setSummary(?Link $summary): self
{
Expand All @@ -30,15 +30,15 @@ public function setSummary(?Link $summary): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Link|null container for events link information
* @return Link|null container for events link information
*/
public function getEvents(): ?Link
{
return $this->events;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Link|null $events container for events link information
* @param Link|null $events container for events link information
*/
public function setEvents(?Link $events): self
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ public function setCarrierFullName(?string $carrierFullName): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Signature\Signature|null object containing signature metadata
* @return Signature|null object containing signature metadata
*/
public function getSignature(): ?Signature
{
return $this->signature;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Signature\Signature|null $signature object containing signature
* metadata
* @param Signature|null $signature object containing signature
* metadata
*/
public function setSignature(?Signature $signature): self
{
Expand All @@ -94,7 +94,7 @@ public function getLinks(): ?Links
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Signature\Links|null $links object containing API links
* @param Links|null $links object containing API links
*/
public function setLinks(?Links $links): self
{
Expand Down
20 changes: 10 additions & 10 deletions src/ElliotJReed/RoyalMail/Tracking/Entity/Signature/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ final class Response extends \ElliotJReed\RoyalMail\Tracking\Entity\Response
private ?MailPieces $mailPieces = null;

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Signature\MailPieces|null Object containing tracking information
* for the requested mail item. This will
* only be provided in the event that no
* error information is returned.
* @return MailPieces|null Object containing tracking information
* for the requested mail item. This will
* only be provided in the event that no
* error information is returned.
*/
public function getMailPieces(): ?MailPieces
{
return $this->mailPieces;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Signature\MailPieces|null $mailPieces Object containing tracking
* information for the requested
* mail item. This will only be
* provided in the event that
* no error information is
* returned.
* @param MailPieces|null $mailPieces Object containing tracking
* information for the requested
* mail item. This will only be
* provided in the event that
* no error information is
* returned.
*/
public function setMailPieces(?MailPieces $mailPieces): self
{
Expand Down
4 changes: 2 additions & 2 deletions src/ElliotJReed/RoyalMail/Tracking/Entity/Summary/Links.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ final class Links
private ?Link $events = null;

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Link|null container for events link information
* @return Link|null container for events link information
*/
public function getEvents(): ?Link
{
return $this->events;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Link|null $events container for events link information
* @param Link|null $events container for events link information
*/
public function setEvents(?Link $events): self
{
Expand Down
14 changes: 7 additions & 7 deletions src/ElliotJReed/RoyalMail/Tracking/Entity/Summary/MailPieces.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ public function setCarrierFullName(?string $carrierFullName): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Summary\Summary|null object containing summary data
* @return Summary|null object containing summary data
*/
public function getSummary(): ?Summary
{
return $this->summary;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Summary\Summary|null $summary object containing summary data
* @param Summary|null $summary object containing summary data
*/
public function setSummary(?Summary $summary): self
{
Expand All @@ -96,7 +96,7 @@ public function getLinks(): ?Links
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\Summary\Links|null $links object containing API links
* @param Links|null $links object containing API links
*/
public function setLinks(?Links $links): self
{
Expand All @@ -106,17 +106,17 @@ public function setLinks(?Links $links): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\ErrorResponse|null container for mail piece related error
* information
* @return ErrorResponse|null container for mail piece related error
* information
*/
public function getError(): ?ErrorResponse
{
return $this->error;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\ErrorResponse|null $error container for mail piece related error
* information
* @param ErrorResponse|null $error container for mail piece related error
* information
*/
public function setError(?ErrorResponse $error): self
{
Expand Down
10 changes: 5 additions & 5 deletions src/ElliotJReed/RoyalMail/Tracking/Entity/Summary/Summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,18 +354,18 @@ public function setSummaryLine(?string $summaryLine): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\InternationalPostalProvider|null object containing details of
* international postal
* organisation
* @return InternationalPostalProvider|null object containing details of
* international postal
* organisation
*/
public function getInternationalPostalProvider(): ?InternationalPostalProvider
{
return $this->internationalPostalProvider;
}

/**
* @param \ElliotJReed\RoyalMail\Tracking\Entity\InternationalPostalProvider|null $internationalPostalProvider object containing details of
* international postal organisation
* @param InternationalPostalProvider|null $internationalPostalProvider object containing details of
* international postal organisation
*/
public function setInternationalPostalProvider(?InternationalPostalProvider $internationalPostalProvider): self
{
Expand Down
4 changes: 2 additions & 2 deletions src/ElliotJReed/RoyalMail/Tracking/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(
* "turned off" by setting
* $throwExceptionOnTrackingError to false
* in the constructor.
* @throws \ElliotJReed\RoyalMail\Tracking\Exception\RoyalMailResponseError Thrown in the event of an API server
* @throws RoyalMailResponseError Thrown in the event of an API server
* outage or critical error
* (eg. DNS failure).
*/
Expand Down Expand Up @@ -95,7 +95,7 @@ public function setTrackingNumber(string $trackingNumber): self
}

/**
* @return \ElliotJReed\RoyalMail\Tracking\Entity\Event\Response the Royal Mail response object
* @return Response the Royal Mail response object
*/
public function getResponse(): Response
{
Expand Down
Loading

0 comments on commit 035f4fb

Please sign in to comment.