File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class FormatException extends RuntimeException implements ExceptionInterface
2525 /**
2626 * Thrown when the instantiated class does not exist.
2727 *
28- * @return FormatException
28+ * @return static
2929 */
3030 public static function forInvalidFormatter (string $ class )
3131 {
@@ -38,7 +38,7 @@ public static function forInvalidFormatter(string $class)
3838 *
3939 * @param string $error
4040 *
41- * @return FormatException
41+ * @return static
4242 */
4343 public static function forInvalidJSON (?string $ error = null )
4444 {
@@ -49,7 +49,7 @@ public static function forInvalidJSON(?string $error = null)
4949 * Thrown when the supplied MIME type has no
5050 * defined Formatter class.
5151 *
52- * @return FormatException
52+ * @return static
5353 */
5454 public static function forInvalidMime (string $ mime )
5555 {
@@ -60,7 +60,7 @@ public static function forInvalidMime(string $mime)
6060 * Thrown on XMLFormatter when the `simplexml` extension
6161 * is not installed.
6262 *
63- * @return FormatException
63+ * @return static
6464 *
6565 * @codeCoverageIgnore
6666 */
Original file line number Diff line number Diff line change 1616class LogException extends FrameworkException
1717{
1818 /**
19- * @return LogException
19+ * @return static
2020 */
2121 public static function forInvalidLogLevel (string $ level )
2222 {
2323 return new static (lang ('Log.invalidLogLevel ' , [$ level ]));
2424 }
2525
2626 /**
27- * @return LogException
27+ * @return static
2828 */
2929 public static function forInvalidMessageType (string $ messageType )
3030 {
You can’t perform that action at this time.
0 commit comments