Skip to content

Commit

Permalink
fix psalm errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lphoumpakka committed Nov 17, 2020
1 parent 3c557ea commit dab28b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mercator-domain-replacements.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function translate_sites_url() {
$domain_internal = untrailingslashit( $current_site->siteurl );

foreach ( $mappings as $mapping ) {
/** @var $mapping \Mercator\Mapping */
/** @var \Mercator\Mapping $mapping */
if ( ! $mapping->is_active() ) {
continue;
}
Expand Down Expand Up @@ -187,7 +187,7 @@ public function replace_urls( $buffer ) {
*
* @param string $content
*
* @return string|string[]
* @return string
*
* @author Alexandre Sadowski
*/
Expand All @@ -200,7 +200,7 @@ private function replace_slashes( $content ) {
*
* @param string $content
*
* @return string|string[]
* @return string
*
* @author Alexandre Sadowski
*/
Expand Down

0 comments on commit dab28b2

Please sign in to comment.