File tree Expand file tree Collapse file tree 2 files changed +115
-75
lines changed Expand file tree Collapse file tree 2 files changed +115
-75
lines changed Original file line number Diff line number Diff line change @@ -14,79 +14,79 @@ public function ratings();
1414 /**
1515 *
1616 * @param $round
17- * @return mixed
17+ * @return double
1818 */
1919 public function averageRating ($ round = null );
2020
2121 /**
2222 *
2323 * @param $round
24- * @return mixed
24+ * @return double
2525 */
2626 public function averageCustomerServiceRating ($ round = null );
2727
2828 /**
2929 *
3030 * @param $round
31- * @return mixed
31+ * @return double
3232 */
3333 public function averageQualityRating ($ round = null );
3434
3535 /**
3636 *
3737 * @param $round
38- * @return mixed
38+ * @return double
3939 */
4040 public function averageFriendlyRating ($ round = null );
4141
4242 /**
4343 *
4444 * @param $round
45- * @return mixed
45+ * @return double
4646 */
4747 public function averagePricingRating ($ round = null );
4848
4949 /**
5050 *
51- * @return mixed
51+ * @return int
5252 */
5353 public function countRating ();
5454
5555 /**
5656 *
57- * @return mixed
57+ * @return int
5858 */
5959 public function countCustomerServiceRating ();
6060
6161 /**
6262 *
63- * @return mixed
63+ * @return int
6464 */
6565 public function countQualityRating ();
6666
6767 /**
6868 *
69- * @return mixed
69+ * @return int
7070 */
7171 public function countFriendlyRating ();
7272
7373 /**
7474 *
75- * @return mixed
75+ * @return int
7676 */
7777 public function countPriceRating ();
7878
7979 /**
8080 *
81- * @return mixed
81+ * @return double
8282 */
8383 public function sumRating ();
8484
8585 /**
8686 *
8787 * @param $max
8888 *
89- * @return mixed
89+ * @return double
9090 */
9191 public function ratingPercent ($ max = 5 );
9292
@@ -96,7 +96,7 @@ public function ratingPercent($max = 5);
9696 * @param $author
9797 * @param $parent
9898 *
99- * @return mixed
99+ * @return static
100100 */
101101 public function rating ($ data , Model $ author , Model $ parent = null );
102102
You can’t perform that action at this time.
0 commit comments