]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/points/class_BookablePoints.php
Continued:
[core.git] / framework / main / interfaces / points / class_BookablePoints.php
index 7c072a2be65ef38ac530ca542b8811422b36e892..d35bdd7a15606e380a649069cc31b4a93a3e53a8 100644 (file)
@@ -34,7 +34,7 @@ interface BookablePoints extends AddableCriteria {
         * @param       $action                 The action or configuration entry plus prefix the user wants to perform
         * @return      $hasRequired    Whether the user has the required points
         */
-       function ifUserHasRequiredPoints ($action);
+       function ifUserHasRequiredPoints (string $action);
 
        /**
         * "Books" the given points amount on the current user's account
@@ -42,6 +42,6 @@ interface BookablePoints extends AddableCriteria {
         * @param       $amount         Amount of points we shall book
         * @return      void
         */
-       function bookPointsDirectly ($amount);
+       function bookPointsDirectly (float $amount);
 
 }