Skip to content

Commit

Permalink
Linting update after check added
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Dec 11, 2024
1 parent 2d675eb commit 637813e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion classes/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private function update_subscription($form_data) {
}
}

if ($old_price >= $new_price) {
if ($old_price >= $new_price) {
if ($this->stripe->schedule) {
\Stripe\SubscriptionSchedule::release($this->stripe->schedule);
}
Expand Down
2 changes: 1 addition & 1 deletion www/docs/api/update-card.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$setup_intent = \Stripe\SetupIntent::create([
'automatic_payment_methods' => ["enabled" => True, "allow_redirects" => "never"],
'automatic_payment_methods' => ["enabled" => true, "allow_redirects" => "never"],
]);
header('Content-Type: application/json');
print json_encode([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<h3 style="margin-bottom: 1em;" class="search-result__title"><a href="https://www.theyworkforyou.com/debates/?id=2024-09-10a.712.0">⭐️ Read the debate on the winter fuel regulations</a></h3>
<?php
}
if (preg_match('#budget#i', $searchstring)) { ?>
if (preg_match('#budget#i', $searchstring)) { ?>
<h3 class="search-result__title"><a href="https://www.theyworkforyou.com/debates/?id=2024-10-30a.811.0#g811.2">Read the Budget speech</a></h3>
<?php } ?>

Expand Down

0 comments on commit 637813e

Please sign in to comment.