X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Ffile_directories%2Foutput%2Fraw%2Fclass_FrameworkRawFileOutputPointer.php;h=e7453802acc5704342a1bcf2bc0a22fba876d5df;hb=9aafc2b0b062e10d0fa5d61bfb551938fcf422e2;hp=fc3ecd3a13c9773ae15d12ed11d8d96d386d9aef;hpb=adcdfc000eba8fac128786adcb8cb480085e7e76;p=core.git diff --git a/framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php b/framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php index fc3ecd3a..e7453802 100644 --- a/framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php +++ b/framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php @@ -86,7 +86,7 @@ class FrameworkRawFileOutputPointer extends BaseFileIo implements OutputPointer * @throws NullPointerException If the file pointer instance is not set by setFileObject() * @throws LogicException If there is no object being set */ - public function writeToFile ($dataStream) { + public function writeToFile (string $dataStream) { if (is_null($this->getFileObject())) { // Pointer not initialized throw new NullPointerException($this, self::EXCEPTION_IS_NULL_POINTER); @@ -119,7 +119,7 @@ class FrameworkRawFileOutputPointer extends BaseFileIo implements OutputPointer * @return mixed Number of writes bytes or false on error * @throws UnsupportedOperationException If this method is called */ - public function writeAtPosition ($seedPosition, $data) { + public function writeAtPosition (int $seedPosition, string $data) { throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION); }