Skip to content

Commit 1e88439

Browse files
committed
Fix PHPStorm static analysis warnings
1 parent d1a64fc commit 1e88439

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

SourceBitBucket/SourceBitBucket.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
# Copyright (c) 2014 Sergey Marchenko
44
# Licensed under the MIT license
55

6+
/** @noinspection PhpMissingReturnTypeInspection */
7+
68
if( false === include_once(config_get( 'plugin_path' ) . 'Source/MantisSourceGitBasePlugin.class.php') ) {
79
return;
810
}
911

1012
class SourceBitBucketPlugin extends MantisSourceGitBasePlugin {
1113

12-
const PLUGIN_VERSION = '2.2.0';
14+
const PLUGIN_VERSION = '2.2.1';
1315
const FRAMEWORK_VERSION_REQUIRED = '2.5.0';
1416

1517
/**
@@ -301,7 +303,7 @@ public function import_full( $p_repo, $p_use_cache = true ) {
301303
foreach ( $t_branches as $t_branch ) {
302304
$t_query = "SELECT parent FROM $t_changeset_table
303305
WHERE repo_id=" . db_param() . ' AND branch=' . db_param() .
304-
' ORDER BY timestamp ASC';
306+
' ORDER BY timestamp';
305307
$t_result = db_query( $t_query, array($p_repo->id, $t_branch), 1 );
306308

307309
$t_commits = array($t_branch);

0 commit comments

Comments
 (0)