Skip to content

Commit

Permalink
Applied Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 8, 2024
1 parent f934393 commit b326947
Show file tree
Hide file tree
Showing 18 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions upload/catalog/controller/extension/payment/divido.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ControllerExtensionPaymentDivido extends Controller {
public const STATUS_ACCEPTED = 'ACCEPTED', STATUS_ACTION_LENDER = 'ACTION-LENDER', STATUS_CANCELED = 'CANCELED', STATUS_COMPLETED = 'COMPLETED', STATUS_DEPOSIT_PAID = 'DEPOSIT-PAID', STATUS_DECLINED = 'DECLINED', STATUS_DEFERRED = 'DEFERRED', STATUS_REFERRED = 'REFERRED', STATUS_FULFILLED = 'FULFILLED', STATUS_SIGNED = 'SIGNED';

/**
* @var array<string, int> $status_id
* @var array<string, int>
*/
private array $status_id = [
self::STATUS_ACCEPTED => 1,
Expand All @@ -24,7 +24,7 @@ class ControllerExtensionPaymentDivido extends Controller {
];

/**
* @var array<string, string> $history_messages
* @var array<string, string>
*/
private array $history_messages = [
self::STATUS_ACCEPTED => 'Credit request accepted',
Expand Down
2 changes: 1 addition & 1 deletion upload/system/engine/event.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/**
* Class Event
*
*
* Event System Userguide
* https://github.com/opencart/opencart/wiki/Events-(script-notifications)-2.2.x.x
*/
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/cart/cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Cart {
/**
* @var array<int, array<string, mixed>>
*/
private array $data = [];
private array $data = [];

/**
* Constructor
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/cart/tax.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Tax {
/**
* @var array<int, array<int, array<string, mixed>>>
*/
private array $tax_rates = [];
private array $tax_rates = [];

/**
* Constructor
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
class Config {
/**
* @var array<string, mixed> $data
* @var array<string, mixed>
*/
private array $data = [];

Expand Down
8 changes: 4 additions & 4 deletions upload/system/library/document.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ class Document {
/**
* @var array<string, array<string, string>>
*/
private array $links = [];
private array $links = [];
/**
* @var array<string, array<string, string>>
*/
private array $styles = [];
private array $styles = [];
/**
* @var array<string, array<string, array<string, string>>>
*/
private array $scripts = [];
private array $scripts = [];

/**
* Set Title
*
*
* @param string $title
*
* @return void
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/googleshopping/googleshopping.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class Googleshopping extends Library {
/**
* @var int
*/
private int $store_id = 0;
private int $store_id = 0;
/**
* @var object
*/
Expand Down
6 changes: 3 additions & 3 deletions upload/system/library/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ class Image {
/**
* @var mixed
*/
private $image;
private $image;
/**
* @var int
*/
private int $width;
private int $width;
/**
* @var int
*/
private int $height;
private int $height;
/**
* @var string
*/
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/language.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Language {
/**
* @var array<string, string>
*/
public array $data = [];
public array $data = [];

/**
* Constructor
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Mail {
/**
* @var array<string, mixed>
*/
private array $option = [];
private array $option = [];

/**
* Constructor
Expand Down
8 changes: 4 additions & 4 deletions upload/system/library/pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ class Pagination {
/**
* @var int
*/
public int $total = 0;
public int $total = 0;
/**
* @var int
*/
public int $page = 1;
public int $page = 1;
/**
* @var int
*/
public int $limit = 20;
public int $limit = 20;
/**
* @var int
*/
public int $num_links = 8;
public int $num_links = 8;
/**
* @var string
*/
Expand Down
4 changes: 2 additions & 2 deletions upload/system/library/response.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ class Response {
/**
* @var array<string, mixed>
*/
private array $headers = [];
private array $headers = [];
/**
* @var int
*/
private int $level = 0;
private int $level = 0;
/**
* @var string
*/
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Session {
/**
* @var array<mixed>
*/
public array $data = [];
public array $data = [];

/**
* Constructor
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/session/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class DB {
* @var object
*/
private object $config;

/**
* Constructor
*
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/session/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class File {
* @var object
*/
private object $config;

/**
* Constructor
*
Expand Down
4 changes: 2 additions & 2 deletions upload/system/library/squareup/exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ class Exception extends \Exception {
/**
* @var bool
*/
private bool $isCurlError = false;
private bool $isCurlError = false;
/**
* @var array<string, mixed>
*/
private array $overrideFields = [
private array $overrideFields = [
'billing_address.country',
'shipping_address.country',
'email_address',
Expand Down
4 changes: 2 additions & 2 deletions upload/system/library/template/twig.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class Twig {
/**
* @var array<string, string>
*/
protected array $path = [];
protected array $path = [];
/**
* @var array<string, string>
*/
protected array $data = [];
protected array $data = [];

/**
* Set
Expand Down
2 changes: 1 addition & 1 deletion upload/system/library/url.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Url {
/**
* @var array<string, mixed>
*/
private array $rewrite = [];
private array $rewrite = [];

/**
* Constructor
Expand Down

0 comments on commit b326947

Please sign in to comment.