@@ -386,6 +386,9 @@ |
||
| 386 | 386 | $this->init($BaseInfo); |
| 387 | 387 | } |
| 388 | 388 | |
| 389 | + /** |
|
| 390 | + * @param string $packageNames |
|
| 391 | + */ |
|
| 389 | 392 | private function dropTableToExtra($packageNames) |
| 390 | 393 | { |
| 391 | 394 | foreach (explode(' ', trim($packageNames)) as $packageName) { |
@@ -445,6 +445,9 @@ discard block |
||
| 445 | 445 | ->削除(); |
| 446 | 446 | } |
| 447 | 447 | |
| 448 | + /** |
|
| 449 | + * @param string $fileName |
|
| 450 | + */ |
|
| 448 | 451 | private function publishPlugin($fileName) |
| 449 | 452 | { |
| 450 | 453 | copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -591,6 +594,9 @@ discard block |
||
| 591 | 594 | /** @var Store_Plugin */ |
| 592 | 595 | protected $dependency; |
| 593 | 596 | |
| 597 | + /** |
|
| 598 | + * @param string $code |
|
| 599 | + */ |
|
| 594 | 600 | public function __construct(AcceptanceTester $I, $code, Store_Plugin $dependency = null) |
| 595 | 601 | { |
| 596 | 602 | parent::__construct($I); |
@@ -723,6 +729,9 @@ discard block |
||
| 723 | 729 | return $this; |
| 724 | 730 | } |
| 725 | 731 | |
| 732 | + /** |
|
| 733 | + * @param string $fileName |
|
| 734 | + */ |
|
| 726 | 735 | protected function publishPlugin($fileName) |
| 727 | 736 | { |
| 728 | 737 | $published = copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -741,6 +750,9 @@ discard block |
||
| 741 | 750 | /** @var string */ |
| 742 | 751 | private $code; |
| 743 | 752 | |
| 753 | + /** |
|
| 754 | + * @param string $code |
|
| 755 | + */ |
|
| 744 | 756 | public function __construct(AcceptanceTester $I, $code) |
| 745 | 757 | { |
| 746 | 758 | parent::__construct($I); |
@@ -226,7 +226,7 @@ |
||
| 226 | 226 | |
| 227 | 227 | // id |
| 228 | 228 | if (isset($searchData['id']) && StringUtil::isNotBlank($searchData['id'])) { |
| 229 | - $id = preg_match('/^\d{0,10}$/', $searchData['id']) ? $searchData['id'] : null; |
|
| 229 | + $id = preg_match('/^\d{0,10}$/', $searchData['id']) ? $searchData['id'] : null; |
|
| 230 | 230 | if ($id && $id > '2147483647' && $this->isPostgreSQL()) { |
| 231 | 231 | $id = null; |
| 232 | 232 | } |