]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/file_directories/text/class_BaseTextFile.php
Continued:
[core.git] / framework / main / classes / file_directories / text / class_BaseTextFile.php
index 901b70b379975a5b0a4bb835cfc601b1b748d661..44e100b5a742742cc04106f2c0b287c813abc8cc 100644 (file)
@@ -60,7 +60,7 @@ abstract class BaseTextFile extends BaseAbstractFile {
         * @param       $whence         Added to offset (default: only use offset to seek to)
         * @return      $status         Status of file seek: 0 = success, -1 = failed
         */
-       public function seek ($offset, $whence = SEEK_SET) {
+       public function seek (int $offset, int $whence = SEEK_SET) {
                // Not possible in text files
                self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('BASE-TEXT-FILE: offset=' . $offset . ',whence=' . $whence);
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);