Skip to content

Commit

Permalink
change to valid phalanger \Export
Browse files Browse the repository at this point in the history
Phalanger no longer excepts [assembly: \Export]
  • Loading branch information
robertleeplummerjr committed Apr 28, 2014
1 parent c11a071 commit 3615e2b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Types/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public static function Scripts(WikiLingo\Utilities\Scripts $obj)
return $obj;
}

public static function classNameSimple($type)
public static function classNameSimple($typeName)
{
$parts = explode('\\', $type);
$parts = explode('\\', $typeName);
$type = array_pop($parts);
return $type;
}
Expand Down
4 changes: 2 additions & 2 deletions WYSIWYGWikiLingo/Export.phpx → WYSIWYGWikiLingo/Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
//causes wikiLingo to be exportable as dll using Phalanger
namespace WYSIWYGWikiLingo;

[assembly: \Export]
class Export {}
[\Export]
class Export{}
4 changes: 2 additions & 2 deletions WikiLingo/Export.phpx → WikiLingo/Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
//causes wikiLingo to be exportable as dll using Phalanger
namespace WikiLingo;

[assembly: \Export]
class Export {}
[\Export]
class Export{}
4 changes: 2 additions & 2 deletions WikiLingoWYSIWYG/Export.phpx → WikiLingoWYSIWYG/Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
//causes wikiLingo to be exportable as dll using Phalanger
namespace WikiLingoWYSIWYG;

[assembly: \Export]
class Export {}
[\Export]
class Export{}

0 comments on commit 3615e2b

Please sign in to comment.