Skip to content

Commit

Permalink
s2 s2 s2 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EsdrasCaleb committed Jul 12, 2024
1 parent 7ffeda9 commit b9b8ba4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@

/**
* Function to upgrade the plugin
* @param $oldversion - old version of plugin
*
* @param int $oldversion - old version of plugin
* @return bool - if success
*/
function xmldb_tool_sentry_upgrade($oldversion): bool {
function xmldb_tool_sentry_upgrade(int $oldversion): bool {
global $DB;

if ($oldversion < 2024071200) {
Expand Down

0 comments on commit b9b8ba4

Please sign in to comment.