Skip to content

Commit

Permalink
Fixed some squareup library PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 8, 2024
1 parent 9d399f6 commit cbbda4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload/system/library/squareup.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Squareup {
*
* @property Registry $registry
*
* @param mixed $registry
* @param object $registry
*/
public function __construct(object $registry) {
$this->session = $registry->get('session');
Expand Down Expand Up @@ -577,9 +577,9 @@ protected function filterLocation(array $location): bool {
* @param array<string, mixed> $params
* @param string $content_type
*
* @return array<int, array<string, mixed>>
* @return mixed
*/
protected function encodeParameters(array $params, string $content_type): array {
protected function encodeParameters(array $params, string $content_type) {
switch ($content_type) {
case 'application/json':
return json_encode($params);
Expand Down

0 comments on commit cbbda4d

Please sign in to comment.