PluginProbe
TablePress – Tables in WordPress made easy / 3.2
TablePress – Tables in WordPress made easy v3.2
3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 2.4.4 All 44 releases
← All changes | classes/class-import-file.php +6 -12 2.33.2 View file →
@@ -26,51 +26,45 @@
26 26 /**
27 27 * Local file path location of the file to import.
28 28 *
29 29 * @since 2.3.0
30 - * @var string
31 30 */
32 - public $location = '';
31 + public string $location = '';
33 32
34 33 /**
35 34 * File extension of the file to import.
36 35 *
37 36 * @since 2.3.0
38 - * @var string
39 37 */
40 - public $extension = '';
38 + public string $extension = '';
41 39
42 40 /**
43 41 * MIME type of the file to import.
44 42 *
45 43 * @since 2.3.0
46 - * @var string
47 44 */
48 - public $mime_type = '';
45 + public string $mime_type = '';
49 46
50 47 /**
51 48 * Name of the file to import, used as the table name.
52 49 *
53 50 * @since 2.3.0
54 - * @var string
55 51 */
56 - public $name = '';
52 + public string $name = '';
57 53
58 54 /**
59 55 * Error code related to the import of the file.
60 56 *
61 57 * @since 2.3.0
62 - * @var ?\WP_Error
63 58 */
64 - public $error = null;
59 + public ?\WP_Error $error = null;
65 60
66 61 /**
67 62 * Whether the file should be kept or deleted after import.
68 63 *
69 64 * @since 2.3.0
70 - * @var bool
71 65 */
72 - public $keep_file = false;
66 + public bool $keep_file = false;
73 67
74 68 /**
75 69 * Creates a new File object, from an array of file properties.
76 70 *