Skip to content

Commit

Permalink
Apply fixes from StyleCI (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored Nov 4, 2023
1 parent 10a4cf5 commit f95be60
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion src/Events/FacebookEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class FacebookEvent implements DriverEventInterface
protected $payload;

/**
* @param $payload
* @param $payload
*/
public function __construct($payload)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/ButtonTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ButtonTemplate implements JsonSerializable, WebAccess
protected $buttons = [];

/**
* @param $text
* @param $text
* @return static
*/
public static function create($text)
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Element implements JsonSerializable
protected $default_action;

/**
* @param $title
* @param $title
* @return static
*/
public static function create($title)
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/ElementButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function type($type)
}

/**
* @param $payload
* @param $payload
* @return $this
*/
public function payload($payload)
Expand Down
6 changes: 3 additions & 3 deletions src/Extensions/MediaAttachmentElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MediaAttachmentElement implements JsonSerializable
protected $buttons;

/**
* @param $mediaType
* @param $mediaType
* @return static
*/
public static function create($mediaType)
Expand All @@ -25,15 +25,15 @@ public static function create($mediaType)
}

/**
* @param $mediaType
* @param $mediaType
*/
public function __construct($mediaType)
{
$this->media_type = $mediaType;
}

/**
* @param $attachmentId
* @param $attachmentId
* @return $this
*/
public function attachmentId($attachmentId)
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/MediaTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function create()
}

/**
* @param $element
* @param $element
* @return $this
*/
public function element($element)
Expand Down
6 changes: 3 additions & 3 deletions src/Extensions/MediaUrlElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MediaUrlElement implements JsonSerializable
protected $buttons;

/**
* @param $mediaType
* @param $mediaType
* @return static
*/
public static function create($mediaType)
Expand All @@ -25,15 +25,15 @@ public static function create($mediaType)
}

/**
* @param $mediaType
* @param $mediaType
*/
public function __construct($mediaType)
{
$this->media_type = $mediaType;
}

/**
* @param $url
* @param $url
* @return $this
*/
public function url($url)
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/QuickReplyButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function type($type)
}

/**
* @param $payload
* @param $payload
* @return $this
*/
public function payload($payload)
Expand Down
6 changes: 3 additions & 3 deletions src/Extensions/ReceiptAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function street2($street)
}

/**
* @param $city
* @param $city
* @return $this
*/
public function city($city)
Expand All @@ -66,7 +66,7 @@ public function city($city)
}

/**
* @param $postalCode
* @param $postalCode
* @return $this
*/
public function postalCode($postalCode)
Expand All @@ -77,7 +77,7 @@ public function postalCode($postalCode)
}

/**
* @param $state
* @param $state
* @return $this
*/
public function state($state)
Expand Down
4 changes: 2 additions & 2 deletions src/Extensions/ReceiptAdjustment.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ReceiptAdjustment implements JsonSerializable
protected $amount;

/**
* @param $name
* @param $name
* @return static
*/
public static function create($name)
Expand All @@ -24,7 +24,7 @@ public static function create($name)
/**
* ReceiptAdjustment constructor.
*
* @param $name
* @param $name
*/
public function __construct($name)
{
Expand Down
8 changes: 4 additions & 4 deletions src/Extensions/ReceiptElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ReceiptElement implements JsonSerializable
protected $image_url;

/**
* @param $title
* @param $title
* @return static
*/
public static function create($title)
Expand Down Expand Up @@ -53,7 +53,7 @@ public function subtitle($subtitle)
}

/**
* @param $quantity
* @param $quantity
* @return $this
*/
public function quantity($quantity)
Expand All @@ -64,7 +64,7 @@ public function quantity($quantity)
}

/**
* @param $price
* @param $price
* @return $this
*/
public function price($price)
Expand All @@ -75,7 +75,7 @@ public function price($price)
}

/**
* @param $currency
* @param $currency
* @return $this
*/
public function currency($currency)
Expand Down
4 changes: 2 additions & 2 deletions src/Extensions/ReceiptSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function shippingCost($shippingCost)
}

/**
* @param $totalTax
* @param $totalTax
* @return $this
*/
public function totalTax($totalTax)
Expand All @@ -60,7 +60,7 @@ public function totalTax($totalTax)
}

/**
* @param $totalCost
* @param $totalCost
* @return $this
*/
public function totalCost($totalCost)
Expand Down
14 changes: 7 additions & 7 deletions src/Extensions/ReceiptTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static function create()
}

/**
* @param $name
* @param $name
* @return $this
*/
public function recipientName($name)
Expand All @@ -60,7 +60,7 @@ public function recipientName($name)
}

/**
* @param $name
* @param $name
* @return $this
*/
public function merchantName($name)
Expand All @@ -71,7 +71,7 @@ public function merchantName($name)
}

/**
* @param $orderNumber
* @param $orderNumber
* @return $this
*/
public function orderNumber($orderNumber)
Expand All @@ -82,7 +82,7 @@ public function orderNumber($orderNumber)
}

/**
* @param $currency
* @param $currency
* @return $this
*/
public function currency($currency)
Expand All @@ -93,7 +93,7 @@ public function currency($currency)
}

/**
* @param $paymentMethod
* @param $paymentMethod
* @return $this
*/
public function paymentMethod($paymentMethod)
Expand All @@ -104,7 +104,7 @@ public function paymentMethod($paymentMethod)
}

/**
* @param $orderUrl
* @param $orderUrl
* @return $this
*/
public function orderUrl($orderUrl)
Expand All @@ -115,7 +115,7 @@ public function orderUrl($orderUrl)
}

/**
* @param $timestamp
* @param $timestamp
* @return $this
*/
public function timestamp($timestamp)
Expand Down
Loading

0 comments on commit f95be60

Please sign in to comment.