| @@ -1,9 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace Imagify\CDN; |
| 3 | 3 | |
| 4 | -defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); | |
| 5 | - | |
| 6 | 4 | /** |
| 7 | 5 | * Interface to use for Push CDNs. |
| 8 | 6 | * |
| 9 | 7 | * @since 1.9 |
| @@ -79,9 +77,9 @@ | ||
| 79 | 77 | * |
| 80 | 78 | * @param string $file_name Name of the file. Leave empty for the full size file. |
| 81 | 79 | * @return string URL to the file. |
| 82 | 80 | */ |
| 83 | - public function get_file_url( $file_name = false ); | |
| 81 | + public function get_file_url( $file_name = '' ); | |
| 84 | 82 | |
| 85 | 83 | /** |
| 86 | 84 | * Get a file path. |
| 87 | 85 | * |
| @@ -91,6 +89,6 @@ | ||
| 91 | 89 | * |
| 92 | 90 | * @param string $file_name Name of the file. Leave empty for the full size file. Use 'original' to get the path to the original file. |
| 93 | 91 | * @return string Path to the file. |
| 94 | 92 | */ |
| 95 | - public function get_file_path( $file_name = false ); | |
| 93 | + public function get_file_path( $file_name = '' ); | |
| 96 | 94 | } |