Completed
Push — master ( f1ec7e...ff9c59 )
by Alexander
04:52
created
DataBase/Adapters/PdoAdapter.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,6 +49,10 @@  discard block
 block discarded – undo
49 49
 		}
50 50
 	}
51 51
 
52
+	/**
53
+	 * @param string $sql
54
+	 * @param string|null $types
55
+	 */
52 56
 	private function prepare($sql, array $params, $types)
53 57
 	{
54 58
 		$this->stmt = $this->getConnection()->prepare($sql);
@@ -84,7 +88,7 @@  discard block
 block discarded – undo
84 88
 	 * @param array       $params Query values
85 89
 	 * @param string|null $types  Placeholders types
86 90
 	 *
87
-	 * @return mixed
91
+	 * @return string
88 92
 	 */
89 93
 	public function value($sql, array $params, $types)
90 94
 	{
@@ -251,7 +255,7 @@  discard block
 block discarded – undo
251 255
 	 *
252 256
 	 * Used in subscribers for getting error information
253 257
 	 *
254
-	 * @return mixed
258
+	 * @return \PDOStatement
255 259
 	 */
256 260
 	public function getStmt()
257 261
 	{
Please login to merge, or discard this patch.
DataBase/Exceptions/DbException.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,11 @@  discard block
 block discarded – undo
27 27
 	protected $sql    = '';
28 28
 	protected $params = [];
29 29
 
30
+	/**
31
+	 * @param string $msg
32
+	 * @param integer $code
33
+	 * @param \PDOException $exception
34
+	 */
30 35
 	public function __construct($msg, $code, $exception)
31 36
 	{
32 37
 		parent::__construct($msg, $code, $exception);
@@ -60,7 +65,7 @@  discard block
 block discarded – undo
60 65
 	}
61 66
 
62 67
 	/**
63
-	 * @param mixed $ansi_code
68
+	 * @param string $ansi_code
64 69
 	 */
65 70
 	public function setAnsiCode($ansi_code)
66 71
 	{
Please login to merge, or discard this patch.
Model/ActiveRecord.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 	/**
150 150
 	 * Get unique object
151 151
 	 *
152
-	 * @param bool|DbFilter $filter Filter object
152
+	 * @param DbFilter $filter Filter object
153 153
 	 *
154 154
 	 * @return bool
155 155
 	 */
Please login to merge, or discard this patch.
Model/QueryBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
 class QueryBuilder implements iQueryBuilder
28 28
 {
29 29
 	/**
30
-	 * @param $filter DbFilter
30
+	 * @param DbFilter $filter DbFilter
31 31
 	 *
32
-	 * @return array
32
+	 * @return string[]
33 33
 	 */
34 34
 	protected function extractParams($filter)
35 35
 	{
Please login to merge, or discard this patch.
Tools/Timer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 	 *
57 57
 	 * @param int $precision Result precision
58 58
 	 *
59
-	 * @return mixed
59
+	 * @return double|null
60 60
 	 */
61 61
 	public static function get($precision = self::MICROSECONDS)
62 62
 	{
Please login to merge, or discard this patch.