Completed
Push — master ( a25af9...a12ace )
by Federico
02:41
created
dist/jate/modules/Query/Query.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -7,6 +7,11 @@  discard block
 block discarded – undo
7 7
 			$this->connection = [];
8 8
 			$this->currentConnection = null;
9 9
 		}
10
+
11
+		/**
12
+		 * @param string $_name
13
+		 * @param Connection|null $_connection
14
+		 */
10 15
 		public function addConnection( $_name, $_connection ) {
11 16
 			$this->connection["$_name"] = $_connection;
12 17
 			$this->currentConnection = $_connection;
@@ -23,6 +28,9 @@  discard block
 block discarded – undo
23 28
 			return $this->currentConnection->database->lastInsertId();
24 29
 		}
25 30
 
31
+		/**
32
+		 * @param string $_query
33
+		 */
26 34
 		public function queryFetch( $_query ) {
27 35
 			$temp = $this->stdQuery($_query);
28 36
 			return $temp->fetchAll(PDO::FETCH_ASSOC);
Please login to merge, or discard this patch.