Skip to content

Commit

Permalink
Remove side effect psalm assert from stringNotEmpty (webmozarts#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
BackEndTea authored Nov 6, 2019
1 parent 841d44a commit f66fcdc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
2 changes: 0 additions & 2 deletions src/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ public static function string($value, $message = '')
}

/**
* @psalm-assert string $value
*
* @param mixed $value
* @param string $message
*
Expand Down
15 changes: 0 additions & 15 deletions tests/static-analysis/assert-string-not-empty.php

This file was deleted.

0 comments on commit f66fcdc

Please sign in to comment.