*
* @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
*
* Reads a line from CSV file and returns it as an indexed array
*
* @param $columnSeparator Character to use separting columns
+ * @param $expectedMatches Expected matches, 0 is default and means flexible
* @return $lineArray An index array with the read line
+ * @throws InvalidArgumentException If a parameter is invalid
*/
- function readCsvFileLine ($columnSeparator);
+ function readCsvFileLine (string $columnSeparator, int $expectedMatches = 0);
}