Completed
Pull Request — master (#96)
by
unknown
01:21
created
src/Pdf.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Imagick;
6 6
 use Spatie\PdfToImage\Exceptions\InvalidFormat;
7
-use Spatie\PdfToImage\Exceptions\PdfDoesNotExist;
8
-use Spatie\PdfToImage\Exceptions\PageDoesNotExist;
9 7
 use Spatie\PdfToImage\Exceptions\InvalidLayerMethod;
8
+use Spatie\PdfToImage\Exceptions\PageDoesNotExist;
9
+use Spatie\PdfToImage\Exceptions\PdfDoesNotExist;
10
+use Spatie\PdfToImage\Exceptions\RemoteFileFetchFailed;
10 11
 use Spatie\PdfToImage\Exceptions\TempFileDoesNotExist;
11 12
 use Spatie\PdfToImage\Exceptions\TempPathNotWritable;
12
-use Spatie\PdfToImage\Exceptions\RemoteFileFetchFailed;
13 13
 
14 14
 class Pdf
15 15
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Determine if the given format is a valid output format.
138 138
      *
139
-     * @param $outputFormat
139
+     * @param string $outputFormat
140 140
      *
141 141
      * @return bool
142 142
      */
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     /**
294 294
      * Determine in which format the image must be rendered.
295 295
      *
296
-     * @param $pathToImage
296
+     * @param string $pathToImage
297 297
      *
298 298
      * @return string
299 299
      */
@@ -320,6 +320,7 @@  discard block
 block discarded – undo
320 320
      * @throws \Spatie\PdfToImage\Exceptions\TempPathNotWritable
321 321
      * @throws \Spatie\PdfToImage\Exceptions\RemoteFileFetchFailed
322 322
      * 
323
+     * @param string $source
323 324
      * @return string
324 325
      */
325 326
     protected function fetchRemoteFile($source)
Please login to merge, or discard this patch.