Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fixing some errors based on new endpoint validation behaviors.
Browse files Browse the repository at this point in the history
  • Loading branch information
evil-jakuboleksy committed Feb 1, 2016
1 parent 79f5aa9 commit 3cefd65
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ApplicationInsights/Channel/Contracts/Page_View_Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function getDuration()
*/
public function setDuration($duration)
{
$this->_data['duration'] = $duration;
$this->_data['duration'] = var_export($duration, true);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions ApplicationInsights/Channel/Contracts/Request_Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function getId()
*/
public function setId($id)
{
$this->_data['id'] = $id;
$this->_data['id'] = var_export($id, true);
}

/**
Expand Down Expand Up @@ -151,7 +151,7 @@ public function getResponseCode()
*/
public function setResponseCode($responseCode)
{
$this->_data['responseCode'] = $responseCode;
$this->_data['responseCode'] = var_export($responseCode, true);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions ApplicationInsights/Channel/Contracts/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getIsFirst()
*/
public function setIsFirst($isFirst)
{
$this->_data['ai.session.isFirst'] = $isFirst;
$this->_data['ai.session.isFirst'] = var_export($isFirst, true);
}

/**
Expand All @@ -67,7 +67,7 @@ public function getIsNew()
*/
public function setIsNew($isNew)
{
$this->_data['ai.session.isNew'] = $isNew;
$this->_data['ai.session.isNew'] = var_export($isNew, true);;
}

/**
Expand Down
Loading

0 comments on commit 3cefd65

Please sign in to comment.