Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Linting #10607

Merged
merged 1 commit into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ORM/Connect/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ abstract public function transactionRollback($savepoint = false);

/**
* Commit everything inside this transaction so far
*
*
* Boolean is returned if success state is known, or null if
* unknown. Note: For error checking purposes null should not be treated as error.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Security/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ public function encryptWithUserSettings($string)
/**
* Generate an auto login token which can be used to reset the password,
* at the same time hashing it and storing in the database.
*
*
* @return string Token that should be passed to the client (but NOT persisted).
*/
public function generateAutologinTokenAndStoreHash()
Expand Down
1 change: 1 addition & 0 deletions src/Security/RandomGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace SilverStripe\Security;

use Exception;

/**
* Convenience class for generating cryptographically secure pseudo-random strings/tokens
*/
Expand Down
2 changes: 1 addition & 1 deletion src/View/Requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public static function include_in_response(HTTPResponse $response)
* 'framework/javascript/lang'
* @param bool $return Return all relative file paths rather than including them in
* requirements
*
*
* @return array
*/
public static function add_i18n_javascript($langDir, $return = false)
Expand Down