Completed
Pull Request — master (#10292)
by Angel
08:05
created
framework/db/BaseActiveRecord.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -788,7 +788,7 @@
 block discarded – undo
788 788
      * In the above step 1 and 3, events named [[EVENT_BEFORE_DELETE]] and [[EVENT_AFTER_DELETE]]
789 789
      * will be raised by the corresponding methods.
790 790
      *
791
-     * @return integer|false the number of rows deleted, or false if the deletion is unsuccessful for some reason.
791
+     * @return boolean the number of rows deleted, or false if the deletion is unsuccessful for some reason.
792 792
      * Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful.
793 793
      * @throws StaleObjectException if [[optimisticLock|optimistic locking]] is enabled and the data
794 794
      * being deleted is outdated.
Please login to merge, or discard this patch.