Completed
Push — master ( e30db1...245fbf )
by Adeniyi
04:24 queued 02:10
created
src/Helper/Model.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,6 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * getTableName()
53 53
      *
54
+     * @param string $connection
54 55
      * @return string
55 56
      */
56 57
     public static function getTableName($connection)
@@ -62,7 +63,7 @@  discard block
 block discarded – undo
62 63
      * getALL()
63 64
      * Get all record from the database
64 65
      *
65
-     * @return object
66
+     * @return GetData
66 67
      */
67 68
     public function getALL($dbConnection = NULL)
68 69
     {
@@ -82,7 +83,7 @@  discard block
 block discarded – undo
82 83
      * where($data, $condition)
83 84
      * Get data from database where $data = $condition
84 85
      *
85
-     * @return object
86
+     * @return GetData
86 87
      */
87 88
     public function where($data, $condition = NULL, $dbConnection = NULL)
88 89
     {
@@ -103,7 +104,7 @@  discard block
 block discarded – undo
103 104
      * find($value)
104 105
      * Find data from database where id = $value
105 106
      *
106
-     * @return array
107
+     * @return Model
107 108
      */
108 109
     public static function find($value, $dbConnection = NULL)
109 110
     {
@@ -126,7 +127,7 @@  discard block
 block discarded – undo
126 127
      * save()
127 128
      * Insert data into database
128 129
      *
129
-     * @return bool
130
+     * @return string
130 131
      */
131 132
     public function save($dbConnection = NULL)
132 133
     {
Please login to merge, or discard this patch.