Completed
Branch master (1e0c20)
by Dave
02:41
created
src/Model/Model.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * Mark the field as dirty, so it will be set in inserts and updates
131 131
      *
132
-     * @param $name
132
+     * @param string $name
133 133
      */
134 134
     public function markFieldDirty( $name ) {
135 135
         $this->dirty->$name = true; // field became dirty
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
      * find one match based on a single field and match criteria
444 444
      *
445 445
      * @param string $fieldname
446
-     * @param mixed  $match string|array
446
+     * @param string  $match string|array
447 447
      * @param string $order ASC|DESC
448 448
      * @return object of calling class
449 449
      */
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      * find multiple matches based on a single field and match criteria
461 461
      *
462 462
      * @param string $fieldname
463
-     * @param mixed  $match string|array
463
+     * @param string  $match string|array
464 464
      * @return object[] of objects of calling class
465 465
      */
466 466
     public static function fetchAllWhereMatchingSingleField( $fieldname, $match ) {
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
     /**
485 485
      * returns number of rows in the table
486 486
      *
487
-     * @return int
487
+     * @return string
488 488
      */
489 489
     static public function count() {
490 490
         $st = static::execute( 'SELECT COUNT(*) FROM ' . static::_quote_identifier( static::$_tableName ) );
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
      *
497 497
      * @param string $SQLfragment conditions, grouping to apply (to right of WHERE keyword)
498 498
      * @param array  $params      optional params to be escaped and injected into the SQL query (standrd PDO syntax)
499
-     * @return integer count of rows matching conditions
499
+     * @return string count of rows matching conditions
500 500
      */
501 501
     static public function countAllWhere( $SQLfragment = '', $params = array() ) {
502 502
         $SQLfragment = self::addWherePrefix( $SQLfragment );
Please login to merge, or discard this patch.