Skip to content

Commit

Permalink
core: correct coding style warning
Browse files Browse the repository at this point in the history
Signed-off-by: Edouard Vanbelle <edouard@vanbelle.fr>
  • Loading branch information
EdouardVanbelle committed Dec 25, 2023
1 parent 90555d2 commit 84bca1c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion plugins/password/password.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ public static function username($format = null)
/**
* Returns Guzzle HTTP client instance configured for use in a password driver.
*
* @return \GuzzleHttp\Client HTTP client
* @return GuzzleHttp\Client HTTP client
*/
public static function get_http_client()
{
Expand Down
2 changes: 1 addition & 1 deletion program/include/rcmail_oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class rcmail_oauth
/** @var rcube_cache */
protected $cache;

/** @var \GuzzleHttp\Client */
/** @var GuzzleHttp\Client */
protected $http_client;

/** @var string */
Expand Down
2 changes: 1 addition & 1 deletion program/lib/Roundcube/rcube.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public function get_cache_shared($name, $packed = true)
*
* @param array $options Configuration options
*
* @return \GuzzleHttp\Client HTTP client
* @return GuzzleHttp\Client HTTP client
*/
public function get_http_client($options = [])
{
Expand Down
4 changes: 2 additions & 2 deletions program/lib/Roundcube/rcube_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ public function escape($str)
* @return string Quoted string for use in query
*
* @deprecated Replaced by rcube_db::quote_identifier
* @see rcube_db::quote_identifier
* @see rcube_db::quote_identifier
*/
public function quoteIdentifier($str)
{
Expand All @@ -958,7 +958,7 @@ public function quoteIdentifier($str)
* @return string Escaped string for use in a query
*
* @deprecated Replaced by rcube_db::escape
* @see rcube_db::escape
* @see rcube_db::escape
*/
public function escapeSimple($str)
{
Expand Down
4 changes: 2 additions & 2 deletions program/lib/Roundcube/rcube_mime.php
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,8 @@ public static function wordwrap($string, $width = 75, $break = "\n", $cut = fals
*
* @author Till Klampaeckel <till@php.net>
*
* @see http://de2.php.net/manual/en/ref.fileinfo.php
* @see http://de2.php.net/mime_content_type
* @see http://de2.php.net/manual/en/ref.fileinfo.php
* @see http://de2.php.net/mime_content_type
*/
public static function file_content_type($path, $name, $failover = 'application/octet-stream', $is_stream = false, $skip_suffix = false)
{
Expand Down
2 changes: 1 addition & 1 deletion program/lib/Roundcube/rcube_storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ abstract function get_message_part($uid, $part = 1, $o_part = null, $print = nul
*
* @return string $part Message/part body
*
* @see rcube_imap::get_message_part()
* @see rcube_imap::get_message_part()
*/
public function get_body($uid, $part = 1)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Browser/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static function prepare()
/**
* Create the RemoteWebDriver instance.
*
* @return \Facebook\WebDriver\Remote\RemoteWebDriver
* @return RemoteWebDriver
*/
protected function driver()
{
Expand Down

0 comments on commit 84bca1c

Please sign in to comment.