Completed
Push — master ( 0816cf...c641d1 )
by Adeola
02:20
created
src/Model/DataBaseModel.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * @throws EmptyArrayException
82 82
      * @throws NoRecordCreatedException
83 83
      *
84
-     * @return bool true or false;
84
+     * @return boolean|null true or false;
85 85
      */
86 86
     public function save($dbConn)
87 87
     {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      * @throws ArgumentNumberIncorrectException
139 139
      * @throws ArgumentNotFoundException
140 140
      *
141
-     * @return object
141
+     * @return DataBaseModel
142 142
      */
143 143
     public static function findById($id)
144 144
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace Demo;
14 14
 
15 15
 use Doctrine\Common\Inflector\Inflector;
16
-use Demo\DataBaseConnection;
17 16
 
18 17
 abstract class DataBaseModel implements DataBaseModelInterface
19 18
 {
Please login to merge, or discard this patch.
src/Database/DataBaseQuery.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@  discard block
 block discarded – undo
44 44
      * This method create or insert new users to the table.
45 45
      *
46 46
      * @param $associativeArray
47
-     * @param $tableName
47
+     * @param string $tableName
48 48
      *
49
-     * @return array
49
+     * @return integer
50 50
      */
51 51
     public function create($associativeArrayToCreate, $tableName)
52 52
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * This method read the data in the table name of the id being passed to it.
78 78
      *
79 79
      * @param $id
80
-     * @param $tableName
80
+     * @param string $tableName
81 81
      *
82 82
      * @return array
83 83
      */
@@ -105,9 +105,9 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @param $update Params
107 107
      * @param $associativeArrayToUpdate
108
-     * @param $tableName
108
+     * @param string $tableName
109 109
      *
110
-     * @return bool
110
+     * @return integer
111 111
      */
112 112
     public function update($updateParams, $associativeArrayToUpdate, $tableName)
113 113
     {
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      * This method delete the table name of the id passed to it.
141 141
      *
142 142
      * @param $id
143
-     * @param $tableName
143
+     * @param string $tableName
144 144
      *
145 145
      * @return bool
146 146
      */
Please login to merge, or discard this patch.