Skip to content

Commit

Permalink
Updated visibility [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Feb 10, 2024
1 parent 73a9f40 commit 07b39ab
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 23 deletions.
5 changes: 2 additions & 3 deletions src/BinaryRelationDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

class BinaryRelationDetector
{
// TODO make private in 0.2.0
public $ffi;
public $pointer;
private $ffi;
private $pointer;

public function __construct($path = null, $pointer = null)
{
Expand Down
5 changes: 2 additions & 3 deletions src/BinaryRelationTrainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

class BinaryRelationTrainer
{
// TODO make private in 0.2.0
public $ffi;
public $pointer;
private $ffi;
private $pointer;

public function __construct($ner, $name = '')
{
Expand Down
8 changes: 4 additions & 4 deletions src/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

class Document
{
// TODO make private in 0.2.0
public $ffi;
public $model;
public $text;
public $offsetsPtr;
public $tokensPtr;

private $ffi;
private $text;
private $offsetsPtr;

public function __construct($model, $text)
{
$this->ffi = FFI::instance();
Expand Down
4 changes: 2 additions & 2 deletions src/NER.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

class NER
{
// TODO make private in 0.2.0
public $ffi;
public $pointer;

private $ffi;

public function __construct($path = null, $pointer = null)
{
$this->ffi = FFI::instance();
Expand Down
5 changes: 2 additions & 3 deletions src/NERTrainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

class NERTrainer
{
// TODO make private in 0.2.0
public $ffi;
public $pointer;
private $ffi;
private $pointer;

public function __construct($filename)
{
Expand Down
4 changes: 2 additions & 2 deletions src/NERTrainingInstance.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

class NERTrainingInstance
{
// TODO make private in 0.2.0
public $ffi;
public $pointer;

private $ffi;

public function __construct($tokens)
{
$this->ffi = FFI::instance();
Expand Down
5 changes: 2 additions & 3 deletions src/TextCategorizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

class TextCategorizer
{
// TODO make private in 0.2.0
public $ffi;
public $pointer;
private $ffi;
private $pointer;

public function __construct($path = null, $pointer = null)
{
Expand Down
5 changes: 2 additions & 3 deletions src/TextCategorizerTrainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

class TextCategorizerTrainer
{
// TODO make private in 0.2.0
public $ffi;
public $pointer;
private $ffi;
private $pointer;

public function __construct($path)
{
Expand Down

0 comments on commit 07b39ab

Please sign in to comment.