Continued:
[core.git] / framework / main / interfaces / points / class_BookablePoints.php
index 0ede25567c71ff3e7fc97a701ad3e529c9607ee3..9e97b72344baa76de6e7f6481254d8df2caac70f 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Criteria\Add\AddableCriteria;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -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);
 
 }