From 2d14882af48b2d8f2d3c1be9fe7324d7d354b6ec Mon Sep 17 00:00:00 2001 From: lmajano Date: Tue, 10 Sep 2024 21:15:35 +0000 Subject: [PATCH] Apply cfformat changes --- system/BaseSpec.cfc | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/system/BaseSpec.cfc b/system/BaseSpec.cfc index 7cb8390..835e3ae 100644 --- a/system/BaseSpec.cfc +++ b/system/BaseSpec.cfc @@ -1839,12 +1839,12 @@ component { * ------------------------------------------------------------------ */ - /** - * On missing method handler for dynamic assertions - * - * @missingMethodName The name of the missing method - * @missingMethodArguments The arguments passed to the missing method - */ + /** + * On missing method handler for dynamic assertions + * + * @missingMethodName The name of the missing method + * @missingMethodArguments The arguments passed to the missing method + */ function onMissingMethod( missingMethodName, missingMethodArguments ){ // If the method follows the pattern "assert{target}" then get the target into a variable if ( left( arguments.missingMethodName, 6 ) == "assert" && len( arguments.missingMethodName ) > 6 ) { @@ -1857,10 +1857,7 @@ component { } // Throw an exception - throw( - type = "InvalidMethod", - message = "The method #arguments.missingMethodName# does not exist." - ); + throw( type = "InvalidMethod", message = "The method #arguments.missingMethodName# does not exist." ); } }