정적 분석을 쉽게 하기 위해 일부분 손댐

This commit is contained in:
2018-04-07 13:44:41 +09:00
parent 61857ce56d
commit 28aa4c004b
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -1,6 +1,9 @@
<?php
namespace sammo;
/**
* @method \sammo\Validator rule(string, array<string>|string, null|int|string|array<int|string> $option=null)
*/
class Validator extends \Valitron\Validator
{
protected static $_lang = 'ko';
+3
View File
@@ -125,13 +125,16 @@ class MeekroDB {
public $param_char = '%';
public $named_param_seperator = '_';
public $success_handler = false;
/** @var callable|bool */
public $error_handler = true;
public $throw_exception_on_error = false;
/** @var callable|null */
public $nonsql_error_handler = null;
public $throw_exception_on_nonsql_error = false;
public $nested_transactions = false;
public $usenull = true;
public $ssl = array('key' => '', 'cert' => '', 'ca_cert' => '', 'ca_path' => '', 'cipher' => '');
/** @var array<int,int|float|string|bool> */
public $connect_options = array(MYSQLI_OPT_CONNECT_TIMEOUT => 30);
// internal