PluginProbe
ManageWP Worker / 4.9.34
ManageWP Worker v4.9.34
4.9.38 4.9.37 4.9.36 4.9.35 4.9.34 3.8.7 3.8.8 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.14 3.9.15 3.9.16 3.9.17 3.9.18 3.9.19 3.9.2 3.9.20 3.9.21 3.9.22 3.9.23 3.9.24 All 73 releases
worker / src / Symfony / Filesystem / Exception / FileNotFoundException.php

FileNotFoundException.php in ManageWP Worker 4.9.34, at src/Symfony/Filesystem/Exception/FileNotFoundException.php

23 lines 815 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 class Symfony_Filesystem_Exception_FileNotFoundException extends Symfony_Filesystem_Exception_IOException
4 {
5 /**
6 * Note: Type hint removed from $previous parameter to fix PHP 8.4+ deprecation warning
7 * about implicitly nullable parameters while maintaining backward compatibility with PHP 5.5+.
8 * The nullable type syntax (?Exception) is not supported in PHP 5.5-7.0.
9 */
10 public function __construct($message = null, $code = 0, $previous = null, $path = null)
11 {
12 if (null === $message) {
13 if (null === $path) {
14 $message = 'File could not be found.';
15 } else {
16 $message = sprintf('File "%s" could not be found.', $path);
17 }
18 }
19
20 parent::__construct($message, $code, $previous, $path);
21 }
22 }
23