44
55use Datetime ;
66use SmartonDev \HttpCache \Contracts \HttpHeaderBuilderInterface ;
7+ use SmartonDev \HttpCache \Exceptions \DateMalformedStringException ;
78use SmartonDev \HttpCache \Helpers \HttpHeaderHelper ;
89use SmartonDev \HttpCache \Helpers \TimeHelper ;
910
@@ -107,7 +108,7 @@ private function resetIfNoCache(): static
107108 *
108109 * @param int|string|Datetime $expires int timestamp, string date (DateTime input) or DateTime object
109110 * @return static
110- * @throws \ DateMalformedStringException
111+ * @throws DateMalformedStringException
111112 */
112113 public function expires (int |string |Datetime $ expires ): static
113114 {
@@ -123,7 +124,7 @@ public function expires(int|string|Datetime $expires): static
123124 *
124125 * @param int|string|Datetime $expires int timestamp, string date (DateTime input) or DateTime object
125126 * @return static
126- * @throws \ DateMalformedStringException
127+ * @throws DateMalformedStringException
127128 */
128129 public function withExpires (int |string |DateTime $ expires ): static
129130 {
@@ -156,7 +157,7 @@ public function withoutExpires(): static
156157 *
157158 * @param int|string|Datetime $lastModified int timestamp, string date (DateTime input) or DateTime object
158159 * @return static
159- * @throws \ DateMalformedStringException
160+ * @throws DateMalformedStringException
160161 */
161162 public function lastModified (int |string |DateTime $ lastModified ): static
162163 {
@@ -172,7 +173,7 @@ public function lastModified(int|string|DateTime $lastModified): static
172173 *
173174 * @param int|string|Datetime $lastModified int timestamp, string date (DateTime input) or DateTime object
174175 * @return static
175- * @throws \ DateMalformedStringException
176+ * @throws DateMalformedStringException
176177 */
177178 public function withLastModified (int |string |DateTime $ lastModified ): static
178179 {
0 commit comments