Skip to content

Commit

Permalink
Comment and chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostico committed Mar 2, 2022
1 parent fdec61b commit 5347786
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Commons/EmptyFeatureSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

use Matecat\SubFiltering\Contracts\FeatureSetInterface;

/**
* Used from sources which want not to implement a custom object from this package
*/
class EmptyFeatureSet implements FeatureSetInterface {

/**
Expand Down
2 changes: 1 addition & 1 deletion src/MyMemoryFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MyMemoryFilter extends AbstractFilter {
*
* @return mixed
*/
public function fromLayer0ToLayer1( $segment, $cid = false ) {
public function fromLayer0ToLayer1( $segment, $cid = null ) {
$channel = new Pipeline( $this->source, $this->target );
$channel->addLast( new StandardPHToMateCatCustomPH() );
$channel->addLast( new PlaceHoldXliffTags() );
Expand Down

0 comments on commit 5347786

Please sign in to comment.