* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class ToMuchEmployeesException extends FrameworkException {
- public function __construct ($amountArray, $code) {
- // Cast the array
- $amountArray = (array) $amountArray;
-
+ public function __construct (array $amountArray, $code) {
// Add a message around the missing class
$message = sprintf("<u>%d</u> Leute nicht einstellbar, da nur <u>%d</u> arbeitslos sind!",
$amountArray[0],